Gtk::reference.3pm

Langue: en

Version: 2008-01-15 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Gtk::reference - Reference documentation for the Gtk module

Gtk


$func->_bootstrap ()


$func->_bootstrap ()


Gtk->_exit ($status)

$status (integer)

Exits the program with status as the result code (useful after a fork() call).

string Gtk->check_version ($req_maj, $req_min, $req_micro)


string Gtk->check_version ($req_maj, $req_min, $req_micro)

$req_maj (integer)
$req_min (integer)
$req_micro (integer)

scalar $data->constsubstr ($offset, $len)


scalar $data->constsubstr ($offset, $len)

$offset (integer)
$len (integer)

Gtk->error ($text)

$text (string)

Print text as an error using Gtk+'s output facilities. This function also exits the program with an error.

integer Gtk->events_pending ()

Check if there are any events pending for the toolkit to service.

Gtk->exit ($status)

$status (integer)

Exits the program with status as the result code.

boolean Gtk->false ()

Utility function that always return a FALSE value. Most useful in some signal handler.

Gtk->gc ()

Perform a garbage collection run.

Gtk::Gdk::Event Gtk->get_current_event ()


Gtk::Widget Gtk->get_event_widget ($event)

$event (Gtk::Gdk::Event)

Get the widget the event event is destined for.

Gtk->grab_add ($widget)

$widget (Gtk::Widget)

Add widget to the grab list (events are sent to this widgets first).

Gtk::Widget Gtk->grab_get_current ()

Get current grabbing widget.

Gtk->grab_remove ($widget)

$widget (Gtk::Widget)

Remove widget to the grab list.

integer Gtk->idle_add ($handler, ...)

$handler (subroutine) generic subroutine
... (list) additional args for $handler

Add an idle handler (a function that gets called when the main loop is not busy servicing toolkit events). handler is called with the additional arguments as parameters.

integer Gtk->idle_add_priority ($priority, $handler, ...)


integer Gtk->idle_add_priority ($priority, $handler, ...)

$priority (integer)
$handler (subroutine) generic subroutine
... (list) additional args for $handler

Add an idle handler (a function that gets called when the main loop is not busy servicing toolkit events). handler is called with the additional arguments as parameters. The lower the value of priority, the highter the priority of the handler.

Gtk->idle_remove ($tag)

$tag (integer)

Remove an idle handler identified by tag.

Gtk->init ()

Initialize the Gtk module. Parses the args out of @ARGV.

Gtk->init_add ($handler, ...)

$handler (subroutine) generic subroutine
... (list) additional args for $handler

Add an handler to be called at initialization time.

boolean Gtk->init_check ()

Initialize the Gtk module checking for a connection to the display.

Gtk->init_types ()


integer Gtk->key_snooper_install ($handler, ...)

$handler (subroutine) key snooper subroutine
... (list) additional arguments for $handler

Install a key snooper handler: the subroutine will get a Gtk::Widget, a If the function returns a TRUE value the key event will not be handed over to the Gtk internals.

Gtk->key_snooper_remove ($tag)

$tag (integer)

Removes the key snooper handler identified by tag.

Gtk->main ()

Run an instance of the main loop.

integer Gtk->main_iteration ()

Performs a (blocking) iteration of the main loop.

integer Gtk->main_iteration_do ($blocking)

$blocking (boolean)

Performs a (optionally blocking) iteration of the main loop.

integer Gtk->main_level ()

Returns the current main loop level (main loops can be nested).

Gtk->main_quit (...)

... (list)

Quit the main loop.

integer Gtk->major_version ()


integer Gtk->micro_version ()


integer Gtk->minor_version ()


Gtk->mod_init_add ($module, $handler, ...)


Gtk->mod_init_add ($module, $handler, ...)

$module (string)
$handler (scalar)
... (list)

Gtk->module_configure ($data)

$data (scalar)

Gtk->print ($text)

$text (string)

Print text using Gtk+'s output facilities.

integer Gtk->quit_add ($main_level, $handler, ...)


integer Gtk->quit_add ($main_level, $handler, ...)

$main_level (integer)
$handler (subroutine) generic subroutine
... (list) additional arguments for $handler

Add an handler to be called when the main loop of level main_level quits.

Gtk->quit_remove ($tag)

$tag (integer)

Remove the main loop quit handler identified by tag.

string Gtk->set_locale ()

Tells the library to use the locale support. This function must be called before any of the init ones.

integer Gtk->timeout_add ($interval, $handler, ...)


integer Gtk->timeout_add ($interval, $handler, ...)

$interval (integer)
$handler (subroutine) generic subroutine
... (list) additional args for $handler

Add a timeout handler. interval is the interval in milliseconds. handler is called every interval milliseconds with the additional arguments as parameters.

Gtk->timeout_remove ($tag)

$tag (integer)

Remove a timeout handler identified by tag.

boolean Gtk->true ()

Utility function that always returns a TRUE value. Most useful in some signal handler.

Gtk->warning ($text)

$text (string)

Print text as a warning using Gtk+'s output facilities.

integer Gtk->watch_add ($sv, $priority, $handler, ...)


integer Gtk->watch_add ($sv, $priority, $handler, ...)

$sv (scalar)
$priority (integer)
$handler (scalar)
... (list)

Gtk->watch_remove ($tag)

$tag (integer)

Gtk::AccelGroup


boolean $accel_group->activate ($accel_key, $accel_mods)


boolean $accel_group->activate ($accel_key, $accel_mods)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

$accel_group->add ($accel_key, $accel_mods, $accel_flags, $object, $accel_signal)


$accel_group->add ($accel_key, $accel_mods, $accel_flags, $object, $accel_signal)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)
$accel_flags (Gtk::AccelFlags)
$object (Gtk::Object)
$accel_signal (string)

$accel_group->attach ($object)


$accel_group->attach ($object)

$object (Gtk::Object)

$accel_group->detach ($object)


$accel_group->detach ($object)

$object (Gtk::Object)

Gtk::AccelGroup Gtk::AccelGroup->get_default ()


$accel_group->lock ()


$accel_group->lock ()


$accel_group->lock_entry ($accel_key, $accel_mods)


$accel_group->lock_entry ($accel_key, $accel_mods)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

Gtk::AccelGroup Gtk::AccelGroup->new ()


$accel_group->remove ($accel_key, $accel_mods, $object)


$accel_group->remove ($accel_key, $accel_mods, $object)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)
$object (Gtk::Object)

$accel_group->unlock ()


$accel_group->unlock ()


$accel_group->unlock_entry ($accel_key, $accel_mods)


$accel_group->unlock_entry ($accel_key, $accel_mods)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

Gtk::AccelLabel


integer $accel_label->accelerator_width ()


integer $accel_label->accelerator_width ()


integer $accel_label->get_accel_width ()


integer $accel_label->get_accel_width ()


Gtk::AccelLabel Gtk::AccelLabel->new ($string)

$string (string)

boolean $accel_label->refetch ()


boolean $accel_label->refetch ()


$accel_label->set_accel_widget ($accel_widget)


$accel_label->set_accel_widget ($accel_widget)

$accel_widget (Gtk::Widget)

Gtk::Accelerator


Gtk::Gdk::ModifierType Gtk::Accelerator->get_default_mod_mask ()


string Gtk::Accelerator->name ($accel_key, $accel_mods)


string Gtk::Accelerator->name ($accel_key, $accel_mods)

$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

Gtk::Accelerator->parse ($accelerator)

$accelerator (string)

Gtk::Accelerator->set_default_mod_mask ($default_mod_mask)

$default_mod_mask (Gtk::Gdk::ModifierType)

boolean Gtk::Accelerator->valid ($keyval, $modifiers)


boolean Gtk::Accelerator->valid ($keyval, $modifiers)

$keyval (integer)
$modifiers (Gtk::Gdk::ModifierType)

Gtk::Adjustment


$adj->changed ()


$adj->changed ()


$adj->clamp_page ($lower, $upper)


$adj->clamp_page ($lower, $upper)

$lower (double)
$upper (double)

float $adjustment->get_value ()


float $adjustment->get_value ()


float $adjustment->lower ($new_value)


float $adjustment->lower ($new_value)

$new_value (float)

Gtk::Adjustment Gtk::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)


Gtk::Adjustment Gtk::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)

$value (double)
$lower (double)
$upper (double)
$step_increment (double)
$page_increment (double)
$page_size (double)

float $adjustment->page_increment ($new_value)


float $adjustment->page_increment ($new_value)

$new_value (scalar)

float $adjustment->page_size ($new_value)


float $adjustment->page_size ($new_value)

$new_value (scalar)

$adjustment->set_value ($value)


$adjustment->set_value ($value)

$value (double)

float $adjustment->step_increment ($new_value)


float $adjustment->step_increment ($new_value)

$new_value (scalar)

float $adjustment->upper ($new_value)


float $adjustment->upper ($new_value)

$new_value (scalar)

float $adjustment->value ($new_value)


float $adjustment->value ($new_value)

$new_value (scalar)

$adj->value_changed ()


$adj->value_changed ()

Gtk::Alignment


Gtk::Alignment Gtk::Alignment->new ($xalign, $yalign, $xscale, $yscale)


Gtk::Alignment Gtk::Alignment->new ($xalign, $yalign, $xscale, $yscale)

$xalign (double)
$yalign (double)
$xscale (double)
$yscale (double)

$alignment->set ($xalign, $yalign, $xscale, $yscale)


$alignment->set ($xalign, $yalign, $xscale, $yscale)

$xalign (double)
$yalign (double)
$xscale (double)
$yscale (double)

Gtk::Arrow


Gtk::Arrow Gtk::Arrow->new ($arrow_type, $shadow_type)


Gtk::Arrow Gtk::Arrow->new ($arrow_type, $shadow_type)

$arrow_type (Gtk::ArrowType)
$shadow_type (Gtk::ShadowType)

$arrow->set ($arrow_type, $shadow_type)


$arrow->set ($arrow_type, $shadow_type)

$arrow_type (Gtk::ArrowType)
$shadow_type (Gtk::ShadowType)

Gtk::AspectFrame


Gtk::AspectFrame Gtk::AspectFrame->new ($label, $xalign, $yalign, $ratio, $obey_child)


Gtk::AspectFrame Gtk::AspectFrame->new ($label, $xalign, $yalign, $ratio, $obey_child)

$label (string)
$xalign (double)
$yalign (double)
$ratio (double)
$obey_child (boolean)

$aspect_frame->set ($xalign, $yalign, $ratio, $obey_child)


$aspect_frame->set ($xalign, $yalign, $ratio, $obey_child)

$xalign (double)
$yalign (double)
$ratio (double)
$obey_child (boolean)

Gtk::Bin


Gtk::Widget $widget->child ($newvalue)


Gtk::Widget $widget->child ($newvalue)

$newvalue (Gtk::Widget) may be undef

Gtk::Box


$box->children ()


$box->children ()


$box->pack_end ($child, $expand, $fill, $padding)


$box->pack_end ($child, $expand, $fill, $padding)

$child (Gtk::Widget)
$expand (integer)
$fill (integer)
$padding (integer)

$box->pack_end_defaults ($child)


$box->pack_end_defaults ($child)

$child (Gtk::Widget)

$box->pack_start ($child, $expand, $fill, $padding)


$box->pack_start ($child, $expand, $fill, $padding)

$child (scalar)
$expand (scalar)
$fill (scalar)
$padding (scalar)

$box->pack_start_defaults ($child)


$box->pack_start_defaults ($child)

$child (scalar)

$box->query_child_packing ($child)


$box->query_child_packing ($child)

$child (Gtk::Widget)

$box->reorder_child ($child, $pos)


$box->reorder_child ($child, $pos)

$child (Gtk::Widget)
$pos (integer)

$box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)


$box->set_child_packing ($child, $expand, $fill, $padding, $pack_type)

$child (Gtk::Widget)
$expand (integer)
$fill (integer)
$padding (integer)
$pack_type (Gtk::PackType)

$box->set_homogeneous ($homogeneous)


$box->set_homogeneous ($homogeneous)

$homogeneous (integer)

$box->set_spacing ($spacing)


$box->set_spacing ($spacing)

$spacing (integer)

Gtk::BoxChild


integer $child->expand ()


integer $child->expand ()


integer $child->fill ()


integer $child->fill ()


integer $child->pack ()


integer $child->pack ()


integer $child->padding ()


integer $child->padding ()


Gtk::Widget $child->widget ()


Gtk::Widget $child->widget ()

Gtk::Button


$button->clicked ()


$button->clicked ()


$button->enter ()


$button->enter ()


Gtk::ReliefStyle $button->get_relief ()


Gtk::ReliefStyle $button->get_relief ()


$button->leave ()


$button->leave ()


Gtk::Button Gtk::Button->new ($label)

$label (string)

Gtk::Button Gtk::Button->new_with_label ($label)

$label (scalar)

$button->pressed ()


$button->pressed ()


$button->released ()


$button->released ()


$button->set_relief ($style)


$button->set_relief ($style)

$style (Gtk::ReliefStyle)

Gtk::ButtonBox


$buttonbox->get_child_ipadding ()


$buttonbox->get_child_ipadding ()


Gtk::ButtonBox->get_child_ipadding_default ()


$buttonbox->get_child_size ()


$buttonbox->get_child_size ()


Gtk::ButtonBox->get_child_size_default ()


integer $buttonbox->get_layout ()


integer $buttonbox->get_layout ()


integer $buttonbox->get_spacing ()


integer $buttonbox->get_spacing ()


$buttonbox->set_child_ipadding ($ipad_x, $ipad_y)


$buttonbox->set_child_ipadding ($ipad_x, $ipad_y)

$ipad_x (integer)
$ipad_y (integer)

Gtk::ButtonBox->set_child_ipadding_default ($ipad_x, $ipad_y)


Gtk::ButtonBox->set_child_ipadding_default ($ipad_x, $ipad_y)

$ipad_x (integer)
$ipad_y (integer)

$buttonbox->set_child_size ($min_width, $min_height)


$buttonbox->set_child_size ($min_width, $min_height)

$min_width (integer)
$min_height (integer)

Gtk::ButtonBox->set_child_size_default ($min_width, $min_height)


Gtk::ButtonBox->set_child_size_default ($min_width, $min_height)

$min_width (integer)
$min_height (integer)

$buttonbox->set_layout ($layout_style)


$buttonbox->set_layout ($layout_style)

$layout_style (Gtk::ButtonBoxStyle)

$buttonbox->set_spacing ($spacing)


$buttonbox->set_spacing ($spacing)

$spacing (integer)

Gtk::CList


integer $clist->append ($text, ...)


integer $clist->append ($text, ...)

$text (string) text to put in the first column
... (list) additional strings to put in the second, third... columns

$clist->clear ()


$clist->clear ()


Gtk::Gdk::Window $clist->clist_window ()


Gtk::Gdk::Window $clist->clist_window ()


$clist->column_title_active ($column)


$clist->column_title_active ($column)

$column (integer)

$clist->column_title_passive ($column)


$clist->column_title_passive ($column)

$column (integer)

$clist->column_titles_active ()


$clist->column_titles_active ()


$clist->column_titles_hide ()


$clist->column_titles_hide ()


$clist->column_titles_passive ()


$clist->column_titles_passive ()


$clist->column_titles_show ()


$clist->column_titles_show ()


integer $clist->columns ()


integer $clist->columns ()


integer $clist->columns_autosize ()


integer $clist->columns_autosize ()


integer $clist->find_row_from_data ($data)


integer $clist->find_row_from_data ($data)

$data (scalar)

integer $clist->focus_row ()


integer $clist->focus_row ()


$clist->freeze ()


$clist->freeze ()


Gtk::Style $clist->get_cell_style ($row, $column)


Gtk::Style $clist->get_cell_style ($row, $column)

$row (integer)
$column (integer)

Gtk::CellType $clist->get_cell_type ($row, $column)


Gtk::CellType $clist->get_cell_type ($row, $column)

$row (integer)
$column (integer)

string $clist->get_column_title ($column)


string $clist->get_column_title ($column)

$column (integer)

Gtk::Widget $clist->get_column_widget ($column)


Gtk::Widget $clist->get_column_widget ($column)

$column (integer)

Gtk::Adjustment $clist->get_hadjustment ()


Gtk::Adjustment $clist->get_hadjustment ()


$clist->get_pixmap ($row, $column)


$clist->get_pixmap ($row, $column)

$row (integer)
$column (integer)

$clist->get_pixtext ($row, $column)


$clist->get_pixtext ($row, $column)

$row (integer)
$column (integer)

scalar $clist->get_row_data ($row)


scalar $clist->get_row_data ($row)

$row (integer)

Gtk::Style $clist->get_row_style ($row)


Gtk::Style $clist->get_row_style ($row)

$row (integer)

boolean $clist->get_selectable ($row)


boolean $clist->get_selectable ($row)

$row (integer)

$clist->get_selection_info ($x, $y)


$clist->get_selection_info ($x, $y)

$x (integer)
$y (integer)

string $clist->get_text ($row, $column)


string $clist->get_text ($row, $column)

$row (integer)
$column (integer)

Gtk::Adjustment $clist->get_vadjustment ()


Gtk::Adjustment $clist->get_vadjustment ()


$clist->insert ($row, $text, ...)


$clist->insert ($row, $text, ...)

$row (integer)
$text (string) text to put in the first column
... (list) additional strings to put in the second, third... columns

$clist->moveto ($row, $column, $row_align, $column_align)


$clist->moveto ($row, $column, $row_align, $column_align)

$row (integer)
$column (integer)
$row_align (double)
$column_align (double)

Gtk::CList Gtk::CList->new ($columns)

$columns (integer)

Gtk::CList Gtk::CList->new_with_titles ($title, ...)

$title (string) text to put in the first column title
... (list) additional strings to put in the second, third... column titles

integer $clist->optimal_column_width ($column)


integer $clist->optimal_column_width ($column)

$column (integer)

integer $clist->prepend ($text, ...)


integer $clist->prepend ($text, ...)

$text (string) text to put in the first column
... (list) additional strings to put in the second, third... columns

$clist->remove ($row)


$clist->remove ($row)

$row (integer)

Gtk::Visibility $clist->row_is_visible ($row)


Gtk::Visibility $clist->row_is_visible ($row)

$row (integer)

$clist->row_list ()


$clist->row_list ()


$clist->row_move ($source_row, $dest_row)


$clist->row_move ($source_row, $dest_row)

$source_row (integer)
$dest_row (integer)

integer $clist->rows ()


integer $clist->rows ()


$clist->select_all ()


$clist->select_all ()


$clist->select_row ($row, $column)


$clist->select_row ($row, $column)

$row (integer)
$column (integer)

$clist->selection ()


$clist->selection ()


Gtk::SelectionMode $clist->selection_mode ()


Gtk::SelectionMode $clist->selection_mode ()


$clist->set_auto_sort ($auto_sort)


$clist->set_auto_sort ($auto_sort)

$auto_sort (boolean)

$clist->set_background ($row, $color)


$clist->set_background ($row, $color)

$row (integer)
$color (Gtk::Gdk::Color)

$clist->set_border ($type)


$clist->set_border ($type)

$type (Gtk::ShadowType)

$clist->set_button_actions ($button, $button_actions)


$clist->set_button_actions ($button, $button_actions)

$button (integer)
$button_actions (Gtk::ButtonAction)

$clist->set_cell_style ($row, $column, $style)


$clist->set_cell_style ($row, $column, $style)

$row (integer)
$column (integer)
$style (Gtk::Style)

$clist->set_column_auto_resize ($column, $resize)


$clist->set_column_auto_resize ($column, $resize)

$column (integer)
$resize (boolean)

$clist->set_column_justification ($column, $justification)


$clist->set_column_justification ($column, $justification)

$column (integer)
$justification (Gtk::Justification)

$clist->set_column_max_width ($column, $max_width)


$clist->set_column_max_width ($column, $max_width)

$column (integer)
$max_width (integer)

$clist->set_column_min_width ($column, $min_width)


$clist->set_column_min_width ($column, $min_width)

$column (integer)
$min_width (integer)

$clist->set_column_resizeable ($column, $resizeable)


$clist->set_column_resizeable ($column, $resizeable)

$column (integer)
$resizeable (boolean)

$clist->set_column_title ($column, $title)


$clist->set_column_title ($column, $title)

$column (integer)
$title (string)

$clist->set_column_visibility ($column, $visible)


$clist->set_column_visibility ($column, $visible)

$column (integer)
$visible (boolean)

$clist->set_column_widget ($column, $widget)


$clist->set_column_widget ($column, $widget)

$column (integer)
$widget (Gtk::Widget)

$clist->set_column_width ($column, $width)


$clist->set_column_width ($column, $width)

$column (integer)
$width (integer)

$clist->set_compare_func ($handler, ...)


$clist->set_compare_func ($handler, ...)

$handler (subroutine) a compare subroutine that will get the text of the sort_column column of each of the rows being compared
... (list) additional arguments to the compare function

$clist->set_focus_row ($row)


$clist->set_focus_row ($row)

$row (integer)

$clist->set_foreground ($row, $color)


$clist->set_foreground ($row, $color)

$row (integer)
$color (Gtk::Gdk::Color)

$clist->set_hadjustment ($adj)


$clist->set_hadjustment ($adj)

$adj (Gtk::Adjustment)

$clist->set_pixmap ($row, $column, $pixmap, $mask)


$clist->set_pixmap ($row, $column, $pixmap, $mask)

$row (integer)
$column (integer)
$pixmap (Gtk::Gdk::Pixmap)
$mask (Gtk::Gdk::Bitmap) may be undef

$clist->set_pixtext ($row, $column, $text, $spacing, $pixmap, $mask)


$clist->set_pixtext ($row, $column, $text, $spacing, $pixmap, $mask)

$row (integer)
$column (integer)
$text (string)
$spacing (integer)
$pixmap (Gtk::Gdk::Pixmap)
$mask (Gtk::Gdk::Bitmap) may be undef

$clist->set_reorderable ($reorderable)


$clist->set_reorderable ($reorderable)

$reorderable (boolean)

$clist->set_row_data ($row, $data)


$clist->set_row_data ($row, $data)

$row (integer) row number
$data (reference) reference to the data you want to associate with $row

$clist->set_row_height ($height)


$clist->set_row_height ($height)

$height (integer)

$clist->set_row_style ($row, $style)


$clist->set_row_style ($row, $style)

$row (integer)
$style (Gtk::Style)

$clist->set_selectable ($row, $selectable)


$clist->set_selectable ($row, $selectable)

$row (integer)
$selectable (boolean)

$clist->set_selection_mode ($mode)


$clist->set_selection_mode ($mode)

$mode (Gtk::SelectionMode)

$clist->set_shadow_type ($type)


$clist->set_shadow_type ($type)

$type (scalar)

$clist->set_shift ($row, $column, $verticle, $horizontal)


$clist->set_shift ($row, $column, $verticle, $horizontal)

$row (integer)
$column (integer)
$verticle (integer)
$horizontal (integer)

$clist->set_sort_column ($column)


$clist->set_sort_column ($column)

$column (integer)

$clist->set_sort_type ($sort_type)


$clist->set_sort_type ($sort_type)

$sort_type (Gtk::SortType)

$clist->set_text ($row, $column, $text)


$clist->set_text ($row, $column, $text)

$row (integer)
$column (integer)
$text (string)

$clist->set_use_drag_icons ($use_icons)


$clist->set_use_drag_icons ($use_icons)

$use_icons (boolean)

$clist->set_vadjustment ($adj)


$clist->set_vadjustment ($adj)

$adj (Gtk::Adjustment)

$clist->sort ()


$clist->sort ()


integer $clist->sort_column ()


integer $clist->sort_column ()


Gtk::SortType $clist->sort_type ()


Gtk::SortType $clist->sort_type ()


$clist->swap_rows ($row1, $row2)


$clist->swap_rows ($row1, $row2)

$row1 (integer)
$row2 (integer)

$clist->thaw ()


$clist->thaw ()


$clist->undo_selection ()


$clist->undo_selection ()


$clist->unselect_all ()


$clist->unselect_all ()


$clist->unselect_row ($row, $column)


$clist->unselect_row ($row, $column)

$row (integer)
$column (integer)

Gtk::CTree


$ctree->collapse ($node)


$ctree->collapse ($node)

$node (Gtk::CTreeNode) may be undef

$ctree->collapse_recursive ($node)


$ctree->collapse_recursive ($node)

$node (Gtk::CTreeNode) may be undef

$ctree->collapse_to_depth ($node, $depth)


$ctree->collapse_to_depth ($node, $depth)

$node (Gtk::CTreeNode)
$depth (integer)

$ctree->construct ($tree_column, $title, ...)


$ctree->construct ($tree_column, $title, ...)

$tree_column (integer)
$title (string) first column title
... (list) additional column titles

$ctree->expand ($node)


$ctree->expand ($node)

$node (Gtk::CTreeNode)

$ctree->expand_recursive ($node)


$ctree->expand_recursive ($node)

$node (Gtk::CTreeNode) may be undef

$ctree->expand_to_depth ($node, $depth)


$ctree->expand_to_depth ($node, $depth)

$node (Gtk::CTreeNode)
$depth (integer)

boolean $ctree->find ($node, $child)


boolean $ctree->find ($node, $child)

$node (Gtk::CTreeNode)
$child (Gtk::CTreeNode)

list $ctree->get_node_info ($node)


list $ctree->get_node_info ($node)

$node (Gtk::CTreeNode)

integer $ctree->get_node_position ($node)


integer $ctree->get_node_position ($node)

$node (Gtk::CTreeNode)

list $ctree->get_pixmap ($node, $column)


list $ctree->get_pixmap ($node, $column)

$node (Gtk::CTreeNode)
$column (integer)

list $ctree->get_pixtext ($node, $column)


list $ctree->get_pixtext ($node, $column)

$node (Gtk::CTreeNode)
$column (integer)

string $ctree->get_text ($node, $column)


string $ctree->get_text ($node, $column)

$node (Gtk::CTreeNode)
$column (integer)

Gtk::CTreeNode $ctree->insert ($parent, $sibling, $titles, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)


Gtk::CTreeNode $ctree->insert ($parent, $sibling, $titles, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)

$parent (Gtk::CTreeNode) may be undef
$sibling (Gtk::CTreeNode) may be undef
$titles (reference) refrence to an array of strings
$spacing (integer)
$pixmap_closed (Gtk::Gdk::Pixmap) may be undef
$mask_closed (Gtk::Gdk::Bitmap) may be undef
$pixmap_opened (Gtk::Gdk::Pixmap) may be undef
$mask_opened (Gtk::Gdk::Bitmap) may be undef
$is_leaf (boolean)
$expanded (boolean)

Gtk::CTreeNode $ctree->insert_node ($parent, $sibling, $titles, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)


Gtk::CTreeNode $ctree->insert_node ($parent, $sibling, $titles, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)

$parent (scalar)
$sibling (scalar)
$titles (scalar)
$spacing (scalar)
$pixmap_closed (scalar)
$mask_closed (scalar)
$pixmap_opened (scalar)
$mask_opened (scalar)
$is_leaf (scalar)
$expanded (scalar)

boolean $ctree->is_ancestor ($node, $child)


boolean $ctree->is_ancestor ($node, $child)

$node (Gtk::CTreeNode)
$child (Gtk::CTreeNode)

boolean $ctree->is_hot_spot ($x, $y)


boolean $ctree->is_hot_spot ($x, $y)

$x (integer)
$y (integer)

boolean $ctree->is_viewable ($node)


boolean $ctree->is_viewable ($node)

$node (Gtk::CTreeNode)

Gtk::CTreeNode $ctree->last ($node)


Gtk::CTreeNode $ctree->last ($node)

$node (Gtk::CTreeNode)

Gtk::CTreeLineStyle $ctree->line_style ()


Gtk::CTreeLineStyle $ctree->line_style ()


$ctree->move ($node, $new_parent, $new_sibling)


$ctree->move ($node, $new_parent, $new_sibling)

$node (Gtk::CTreeNode)
$new_parent (Gtk::CTreeNode) may be undef
$new_sibling (Gtk::CTreeNode) may be undef

Gtk::CTree Gtk::CTree->new ($columns, $tree_column)


Gtk::CTree Gtk::CTree->new ($columns, $tree_column)

$columns (integer)
$tree_column (integer)

Gtk::CTree Gtk::CTree->new_with_titles ($tree_column, $title, ...)


Gtk::CTree Gtk::CTree->new_with_titles ($tree_column, $title, ...)

$tree_column (integer)
$title (string) first column title
... (list) additional column titles

Gtk::Style $ctree->node_get_cell_style ($node, $column)


Gtk::Style $ctree->node_get_cell_style ($node, $column)

$node (Gtk::CTreeNode)
$column (integer)

Gtk::CellType $ctree->node_get_cell_type ($node, $column)


Gtk::CellType $ctree->node_get_cell_type ($node, $column)

$node (Gtk::CTreeNode)
$column (integer)

list $ctree->node_get_pixmap ($node, $column)


list $ctree->node_get_pixmap ($node, $column)

$node (scalar)
$column (scalar)

list $ctree->node_get_pixtext ($node, $column)


list $ctree->node_get_pixtext ($node, $column)

$node (scalar)
$column (scalar)

scalar $ctree->node_get_row_data ($node)


scalar $ctree->node_get_row_data ($node)

$node (scalar)

Gtk::Style $ctree->node_get_row_style ($node)


Gtk::Style $ctree->node_get_row_style ($node)

$node (Gtk::CTreeNode)

boolean $ctree->node_get_selectable ($node)


boolean $ctree->node_get_selectable ($node)

$node (Gtk::CTreeNode)

string $ctree->node_get_text ($node, $column)


string $ctree->node_get_text ($node, $column)

$node (scalar)
$column (scalar)

Gtk::Visibility $ctree->node_is_visible ($node)


Gtk::Visibility $ctree->node_is_visible ($node)

$node (Gtk::CTreeNode)

$ctree->node_moveto ($node, $column, $row_align, $col_align)


$ctree->node_moveto ($node, $column, $row_align, $col_align)

$node (Gtk::CTreeNode)
$column (integer)
$row_align (double)
$col_align (double)

Gtk::CTreeNode $ctree->node_nth ($row)


Gtk::CTreeNode $ctree->node_nth ($row)

$row (integer)

$ctree->node_set_background ($node, $color)


$ctree->node_set_background ($node, $color)

$node (Gtk::CTreeNode)
$color (Gtk::Gdk::Color)

$ctree->node_set_cell_style ($node, $column, $style)


$ctree->node_set_cell_style ($node, $column, $style)

$node (Gtk::CTreeNode)
$column (integer)
$style (Gtk::Style)

$ctree->node_set_foreground ($node, $color)


$ctree->node_set_foreground ($node, $color)

$node (Gtk::CTreeNode)
$color (Gtk::Gdk::Color)

$ctree->node_set_pixmap ($node, $column, $pixmap, $mask)


$ctree->node_set_pixmap ($node, $column, $pixmap, $mask)

$node (Gtk::CTreeNode)
$column (integer)
$pixmap (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef

$ctree->node_set_pixtext ($node, $column, $text, $spacing, $pixmap, $mask)


$ctree->node_set_pixtext ($node, $column, $text, $spacing, $pixmap, $mask)

$node (Gtk::CTreeNode)
$column (integer)
$text (string)
$spacing (integer)
$pixmap (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef

$ctree->node_set_row_data ($node, $data)


$ctree->node_set_row_data ($node, $data)

$node (Gtk::CTreeNode)
$data (reference) a reference to some data

$ctree->node_set_row_style ($node, $style)


$ctree->node_set_row_style ($node, $style)

$node (Gtk::CTreeNode)
$style (Gtk::Style)

$ctree->node_set_selectable ($node, $selectable)


$ctree->node_set_selectable ($node, $selectable)

$node (Gtk::CTreeNode)
$selectable (boolean)

$ctree->node_set_shift ($node, $column, $vertical, $horizontal)


$ctree->node_set_shift ($node, $column, $vertical, $horizontal)

$node (Gtk::CTreeNode)
$column (integer)
$vertical (integer)
$horizontal (integer)

$ctree->node_set_text ($node, $column, $text)


$ctree->node_set_text ($node, $column, $text)

$node (Gtk::CTreeNode)
$column (integer)
$text (string)

$ctree->post_recursive ($node, $func, ...)


$ctree->post_recursive ($node, $func, ...)

$node (Gtk::CTreeNode) may be undef
$func (scalar)
... (list)

$ctree->pre_recursive ($node, $func, ...)


$ctree->pre_recursive ($node, $func, ...)

$node (Gtk::CTreeNode) may be undef
$func (scalar)
... (list)

$ctree->remove ($node)


$ctree->remove ($node)

$node (Gtk::CTreeNode)

$ctree->remove_node ($node)


$ctree->remove_node ($node)

$node (scalar)

list $ctree->row_list ()


list $ctree->row_list ()


$ctree->select ($node)


$ctree->select ($node)

$node (Gtk::CTreeNode)

$ctree->select_recursive ($node)


$ctree->select_recursive ($node)

$node (Gtk::CTreeNode) may be undef

list $ctree->selection ()


list $ctree->selection ()


$ctree->set_expander_style ($expander_style)


$ctree->set_expander_style ($expander_style)

$expander_style (Gtk::CTreeExpanderStyle)

$ctree->set_indent ($indent)


$ctree->set_indent ($indent)

$indent (integer)

$ctree->set_line_style ($line_style)


$ctree->set_line_style ($line_style)

$line_style (Gtk::CTreeLineStyle)

$ctree->set_node_info ($node, $text, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)


$ctree->set_node_info ($node, $text, $spacing, $pixmap_closed, $mask_closed, $pixmap_opened, $mask_opened, $is_leaf, $expanded)

$node (Gtk::CTreeNode)
$text (string)
$spacing (integer)
$pixmap_closed (Gtk::Gdk::Pixmap) may be undef
$mask_closed (Gtk::Gdk::Bitmap) may be undef
$pixmap_opened (Gtk::Gdk::Pixmap) may be undef
$mask_opened (Gtk::Gdk::Bitmap) may be undef
$is_leaf (boolean)
$expanded (boolean)

$ctree->set_reorderable ($reorderable)


$ctree->set_reorderable ($reorderable)

$reorderable (boolean)

$ctree->set_show_stub ($show_stub)


$ctree->set_show_stub ($show_stub)

$show_stub (boolean)

$ctree->set_spacing ($spacing)


$ctree->set_spacing ($spacing)

$spacing (integer)

$ctree->set_text ($node, $column, $text)


$ctree->set_text ($node, $column, $text)

$node (scalar)
$column (scalar)
$text (scalar)

$ctree->sort ($node)


$ctree->sort ($node)

$node (Gtk::CTreeNode) may be undef

$ctree->sort_node ($node)


$ctree->sort_node ($node)

$node (scalar)

$ctree->sort_recursive ($node)


$ctree->sort_recursive ($node)

$node (Gtk::CTreeNode) may be undef

$ctree->toggle_expansion ($node)


$ctree->toggle_expansion ($node)

$node (Gtk::CTreeNode)

$ctree->toggle_expansion_recursive ($node)


$ctree->toggle_expansion_recursive ($node)

$node (Gtk::CTreeNode) may be undef

integer $ctree->tree_column ()


integer $ctree->tree_column ()


integer $ctree->tree_indent ()


integer $ctree->tree_indent ()


$ctree->unselect ($node)


$ctree->unselect ($node)

$node (Gtk::CTreeNode)

$ctree->unselect_recursive ($node)


$ctree->unselect_recursive ($node)

$node (Gtk::CTreeNode) may be undef

Gtk::CTreeNode


Gtk::CTreeNode $ctree_node->next ()


Gtk::CTreeNode $ctree_node->next ()


Gtk::CTreeNode $ctree_node->prev ()


Gtk::CTreeNode $ctree_node->prev ()


Gtk::CTreeRow $ctree_node->row ()


Gtk::CTreeRow $ctree_node->row ()

Gtk::CTreeRow


Gtk::CTreeNode $ctree_row->children ()


Gtk::CTreeNode $ctree_row->children ()


integer $ctree_row->expanded ()


integer $ctree_row->expanded ()


integer $ctree_row->is_leaf ()


integer $ctree_row->is_leaf ()


Gtk::CTreeNode $ctree_row->parent ()


Gtk::CTreeNode $ctree_row->parent ()


Gtk::CTreeNode $ctree_row->sibling ()


Gtk::CTreeNode $ctree_row->sibling ()

Gtk::Calendar


$calendar->clear_marks ()


$calendar->clear_marks ()


$calendar->display_options ($flags)


$calendar->display_options ($flags)

$flags (Gtk::CalendarDisplayOptions)

$calendar->freeze ()


$calendar->freeze ()


$calendar->get_date ()


$calendar->get_date ()


integer $calendar->mark_day ($day)


integer $calendar->mark_day ($day)

$day (integer)

Gtk::Calendar Gtk::Calendar->new ()


$calendar->select_day ($day)


$calendar->select_day ($day)

$day (integer)

integer $calendar->select_month ($month, $year)


integer $calendar->select_month ($month, $year)

$month (integer)
$year (integer)

$calendar->thaw ()


$calendar->thaw ()


integer $calendar->unmark_day ($day)


integer $calendar->unmark_day ($day)

$day (integer)

Gtk::CheckButton


Gtk::CheckButton Gtk::CheckButton->new ($label)

$label (string)

Gtk::CheckButton Gtk::CheckButton->new_with_label ($label)

$label (scalar)

Gtk::CheckMenuItem


integer $check_menu_item->active ($new_value)


integer $check_menu_item->active ($new_value)

$new_value (integer)

Gtk::CheckMenuItem Gtk::CheckMenuItem->new ($label)

$label (string)

Gtk::CheckMenuItem Gtk::CheckMenuItem->new_with_label ($label)

$label (scalar)

$check_menu_item->set_active ($state)


$check_menu_item->set_active ($state)

$state (integer)

$check_menu_item->set_show_toggle ($always)


$check_menu_item->set_show_toggle ($always)

$always (boolean)

$check_menu_item->set_state ($state)


$check_menu_item->set_state ($state)

$state (scalar)

$check_menu_item->toggled ()


$check_menu_item->toggled ()

Gtk::ColorSelection


$color_selection->get_color ()


$color_selection->get_color ()


Gtk::ColorSelection Gtk::ColorSelection->new ()


$color_selection->set_color ($red, $green, $blue, $opacity)


$color_selection->set_color ($red, $green, $blue, $opacity)

$red (double)
$green (double)
$blue (double)
$opacity (double)

$color_selection->set_opacity ($use_opacity)


$color_selection->set_opacity ($use_opacity)

$use_opacity (boolean)

$color_selection->set_update_policy ($policy)


$color_selection->set_update_policy ($policy)

$policy (Gtk::UpdateType)

Gtk::ColorSelectionDialog


Gtk::Widget $csdialog->cancel_button ()


Gtk::Widget $csdialog->cancel_button ()


Gtk::ColorSelection $csdialog->colorsel ()


Gtk::ColorSelection $csdialog->colorsel ()


Gtk::Widget $csdialog->help_button ()


Gtk::Widget $csdialog->help_button ()


Gtk::ColorSelectionDialog Gtk::ColorSelectionDialog->new ($title)

$title (string)

Gtk::Widget $csdialog->ok_button ()


Gtk::Widget $csdialog->ok_button ()

Gtk::Combo


$combo->disable_activate ()


$combo->disable_activate ()


Gtk::Widget $combo->entry ()


Gtk::Widget $combo->entry ()


Gtk::Widget $combo->list ()


Gtk::Widget $combo->list ()


Gtk::Combo Gtk::Combo->new ()


Gtk::Widget $combo->popwin ()


Gtk::Widget $combo->popwin ()


$combo->set_case_sensitive ($value)


$combo->set_case_sensitive ($value)

$value (integer)

$combo->set_item_string ($item, $item_value)


$combo->set_item_string ($item, $item_value)

$item (Gtk::Item)
$item_value (string)

$combo->set_popdown_strings (...)


$combo->set_popdown_strings (...)

... (list) strings to display in the popdown list

$combo->set_use_arrows ($value)


$combo->set_use_arrows ($value)

$value (scalar)

$combo->set_use_arrows_always ($value)


$combo->set_use_arrows_always ($value)

$value (scalar)

$combo->set_value_in_list ($val, $ok_if_empty)


$combo->set_value_in_list ($val, $ok_if_empty)

$val (integer)
$ok_if_empty (integer)

Gtk::Container


Gtk::Widget $container->add ($widget)


Gtk::Widget $container->add ($widget)

$widget (Gtk::Widget)

$container->border_width ($width)


$container->border_width ($width)

$width (integer)

$container->check_resize ()


$container->check_resize ()


string $container->child_composite_name ($child)


string $container->child_composite_name ($child)

$child (Gtk::Widget)

string $container->child_type ()


string $container->child_type ()


$container->children ()


$container->children ()


$container->clear_resize_widgets ()


$container->clear_resize_widgets ()


$container->dequeue_resize_handler ()


$container->dequeue_resize_handler ()


$self->ensure_focus ($direction)


$self->ensure_focus ($direction)

$direction (Gtk::DirectionType)

integer $container->focus ($direction)


integer $container->focus ($direction)

$direction (Gtk::DirectionType)

$container->forall ($handler, ...)


$container->forall ($handler, ...)

$handler (subroutine) a subroutine that will get each children of the container
... (list) additional arguments for $handler

$container->foreach ($handler, ...)


$container->foreach ($handler, ...)

$handler (scalar)
... (list)

Gtk::Container->get_toplevels ()


$container->queue_resize ()


$container->queue_resize ()


$container->register_toplevel ()


$container->register_toplevel ()


Gtk::Widget $container->remove ($widget)


Gtk::Widget $container->remove ($widget)

$widget (Gtk::Widget)

$container->resize_children ()


$container->resize_children ()


$container->set_border_width ($width)


$container->set_border_width ($width)

$width (scalar)

$container->set_focus_child ($child)


$container->set_focus_child ($child)

$child (Gtk::Widget)

$container->set_focus_hadjustment ($adjustment)


$container->set_focus_hadjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$container->set_focus_vadjustment ($adjustment)


$container->set_focus_vadjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$container->set_resize_mode ($resize_mode)


$container->set_resize_mode ($resize_mode)

$resize_mode (Gtk::ResizeMode)

$container->unregister_toplevel ()


$container->unregister_toplevel ()

Gtk::Curve


$curve->get_vector ($points)


$curve->get_vector ($points)

$points (integer)

Gtk::Curve Gtk::Curve->new ()


$curve->reset ()


$curve->reset ()


$curve->set_curve_type ($type)


$curve->set_curve_type ($type)

$type (Gtk::CurveType)

$curve->set_gamma ($gamma)


$curve->set_gamma ($gamma)

$gamma (double)

$curve->set_range ($min_x, $max_x, $min_y, $max_y)


$curve->set_range ($min_x, $max_x, $min_y, $max_y)

$min_x (double)
$max_x (double)
$min_y (double)
$max_y (double)

$curve->set_vector ($value, ...)


$curve->set_vector ($value, ...)

$value (scalar)
... (list)

Gtk::Dialog


Gtk::Widget $dialog->action_area ()


Gtk::Widget $dialog->action_area ()


Gtk::Dialog Gtk::Dialog->new ()


Gtk::Widget $dialog->vbox ()


Gtk::Widget $dialog->vbox ()

Gtk::DrawingArea


Gtk::DrawingArea Gtk::DrawingArea->new ()


$darea->size ($width, $height)


$darea->size ($width, $height)

$width (integer)
$height (integer)

Gtk::Editable


$editable->changed ()


$editable->changed ()


$editable->claim_selection ($claim, $time)


$editable->claim_selection ($claim, $time)

$claim (boolean)
$time (integer)

$editable->copy_clipboard ()


$editable->copy_clipboard ()


integer $editable->current_pos ()


integer $editable->current_pos ()


$editable->cut_clipboard ()


$editable->cut_clipboard ()


$editable->delete_selection ()


$editable->delete_selection ()


$editable->delete_text ($start, $end)


$editable->delete_text ($start, $end)

$start (integer)
$end (integer)

string $editable->get_chars ($start, $end)


string $editable->get_chars ($start, $end)

$start (integer)
$end (integer)

integer $editable->get_position ()


integer $editable->get_position ()


integer $editable->has_selection ()


integer $editable->has_selection ()


integer $editable->insert_text ($new_text, $position)


integer $editable->insert_text ($new_text, $position)

$new_text (scalar)
$position (integer)

$editable->paste_clipboard ()


$editable->paste_clipboard ()


$editable->select_region ($start, $end)


$editable->select_region ($start, $end)

$start (integer)
$end (integer)

integer $editable->selection_end_pos ()


integer $editable->selection_end_pos ()


integer $editable->selection_start_pos ()


integer $editable->selection_start_pos ()


$editable->set_editable ($is_editable)


$editable->set_editable ($is_editable)

$is_editable (boolean)

$editable->set_position ($position)


$editable->set_position ($position)

$position (integer)

Gtk::Entry


$entry->append_text ($text)


$entry->append_text ($text)

$text (string)

string $entry->get_text ()


string $entry->get_text ()


Gtk::Entry Gtk::Entry->new ($max_length)

$max_length (integer)

Gtk::Entry Gtk::Entry->new_with_max_length ($max_length)

$max_length (scalar)

$entry->prepend_text ($text)


$entry->prepend_text ($text)

$text (scalar)

$entry->select_region ($start, $end)


$entry->select_region ($start, $end)

$start (integer)
$end (integer)

$entry->set_editable ($editable)


$entry->set_editable ($editable)

$editable (boolean)

$entry->set_max_length ($max)


$entry->set_max_length ($max)

$max (integer)

$entry->set_position ($position)


$entry->set_position ($position)

$position (integer)

$entry->set_text ($text)


$entry->set_text ($text)

$text (scalar)

$entry->set_visibility ($visibility)


$entry->set_visibility ($visibility)

$visibility (boolean)

Gtk::EventBox


Gtk::EventBox Gtk::EventBox->new ()

Gtk::FileSelection


Gtk::Widget $fs->cancel_button ()


Gtk::Widget $fs->cancel_button ()


$file_selection->complete ($pattern)


$file_selection->complete ($pattern)

$pattern (string)

Gtk::Widget $fs->dir_list ()


Gtk::Widget $fs->dir_list ()


Gtk::Widget $fs->file_list ()


Gtk::Widget $fs->file_list ()


string $file_selection->get_filename ()


string $file_selection->get_filename ()


Gtk::Widget $fs->help_button ()


Gtk::Widget $fs->help_button ()


$file_selection->hide_fileop_buttons ()


$file_selection->hide_fileop_buttons ()


Gtk::Widget $fs->main_vbox ()


Gtk::Widget $fs->main_vbox ()


Gtk::FileSelection Gtk::FileSelection->new ($title)

$title (string)

Gtk::Widget $fs->ok_button ()


Gtk::Widget $fs->ok_button ()


Gtk::Widget $fs->selection_entry ()


Gtk::Widget $fs->selection_entry ()


Gtk::Widget $fs->selection_text ()


Gtk::Widget $fs->selection_text ()


$file_selection->set_filename ($filename)


$file_selection->set_filename ($filename)

$filename (string)

$file_selection->show_fileop_buttons ()


$file_selection->show_fileop_buttons ()

Gtk::Fixed


$fixed->move ($widget, $x, $y)


$fixed->move ($widget, $x, $y)

$widget (Gtk::Widget)
$x (integer)
$y (integer)

Gtk::Fixed Gtk::Fixed->new ()


$fixed->put ($widget, $x, $y)


$fixed->put ($widget, $x, $y)

$widget (Gtk::Widget)
$x (integer)
$y (integer)

Gtk::FontSelection


Gtk::Gdk::Font $font_selection->get_font ()


Gtk::Gdk::Font $font_selection->get_font ()


string $font_selection->get_font_name ()


string $font_selection->get_font_name ()


string $font_selection->get_preview_text ()


string $font_selection->get_preview_text ()


Gtk::FontSelection Gtk::FontSelection->new ()


$fsel->set_filter ($filter_type, $font_type, $foundries, $weights, $slants, $setwidths, $spacings, $charsets)


$fsel->set_filter ($filter_type, $font_type, $foundries, $weights, $slants, $setwidths, $spacings, $charsets)

$filter_type (Gtk::FontFilterType)
$font_type (Gtk::FontType)
$foundries (reference) reference to an array of foundries; may be undef
$weights (reference) reference to an array of weights; may be undef
$slants (reference) reference to an array of slants; may be undef
$setwidths (reference) reference to an array of setwidths; may be undef
$spacings (reference) reference to an array of spacings; may be undef
$charsets (reference) reference to an array of charsets; may be undef

boolean $font_selection->set_font_name ($font_name)


boolean $font_selection->set_font_name ($font_name)

$font_name (string)

$font_selection->set_preview_text ($text)


$font_selection->set_preview_text ($text)

$text (string)

Gtk::FontSelectionDialog


Gtk::Widget $font_selection_dialog->action_area ()


Gtk::Widget $font_selection_dialog->action_area ()


Gtk::Widget $font_selection_dialog->apply_button ()


Gtk::Widget $font_selection_dialog->apply_button ()


Gtk::Widget $font_selection_dialog->cancel_button ()


Gtk::Widget $font_selection_dialog->cancel_button ()


Gtk::Widget $font_selection_dialog->fontsel ()


Gtk::Widget $font_selection_dialog->fontsel ()


Gtk::Gdk::Font $font_selection_dialog->get_font ()


Gtk::Gdk::Font $font_selection_dialog->get_font ()


string $font_selection_dialog->get_font_name ()


string $font_selection_dialog->get_font_name ()


string $font_selection_dialog->get_preview_text ()


string $font_selection_dialog->get_preview_text ()


Gtk::Widget $font_selection_dialog->main_vbox ()


Gtk::Widget $font_selection_dialog->main_vbox ()


Gtk::FontSelectionDialog Gtk::FontSelectionDialog->new ($title)

$title (string)

Gtk::Widget $font_selection_dialog->ok_button ()


Gtk::Widget $font_selection_dialog->ok_button ()


$fsel->set_filter ($filter_type, $font_type, $foundries, $weights, $slants, $setwidths, $spacings, $charsets)


$fsel->set_filter ($filter_type, $font_type, $foundries, $weights, $slants, $setwidths, $spacings, $charsets)

$filter_type (Gtk::FontFilterType)
$font_type (Gtk::FontType)
$foundries (reference) reference to an array of foundries; may be undef
$weights (reference) reference to an array of weights; may be undef
$slants (reference) reference to an array of slants; may be undef
$setwidths (reference) reference to an array of setwidths; may be undef
$spacings (reference) reference to an array of spacings; may be undef
$charsets (reference) reference to an array of charsets; may be undef

boolean $font_selection_dialog->set_font_name ($font_name)


boolean $font_selection_dialog->set_font_name ($font_name)

$font_name (string)

$font_selection_dialog->set_preview_text ($text)


$font_selection_dialog->set_preview_text ($text)

$text (string)

Gtk::Frame


Gtk::Frame Gtk::Frame->new ($label)

$label (scalar)

$frame->set_label ($label)


$frame->set_label ($label)

$label (string)

$frame->set_label_align ($xalign, $yalign)


$frame->set_label_align ($xalign, $yalign)

$xalign (double)
$yalign (double)

$frame->set_shadow_type ($shadow)


$frame->set_shadow_type ($shadow)

$shadow (Gtk::ShadowType)

Gtk::GammaCurve


Gtk::Widget $curve->curve ()


Gtk::Widget $curve->curve ()


Gtk::GammaCurve Gtk::GammaCurve->new ()

Gtk::Gdk


Gtk::Gdk::Window Gtk::Gdk->ROOT_PARENT ()


integer Gtk::Gdk->ROOT_WINDOW ()


Gtk::Gdk->beep ()

Make the display issue a beep to the user.

integer Gtk::Gdk->error_trap_pop ()


Gtk::Gdk->error_trap_push ()


Gtk::Gdk::Event Gtk::Gdk->event_get ()

Get the next event from the event queue (may return undef).

integer Gtk::Gdk->event_get_time ($event)

$event (Gtk::Gdk::Event)

Gtk::Gdk::Event Gtk::Gdk->event_new ()

Create a new event structure.

Gtk::Gdk::Event Gtk::Gdk->event_peek ()

Returns an event from the queue if one is available (may return undef).

Gtk::Gdk->event_put ($event)

$event (Gtk::Gdk::Event)

Put the evnt in the event queue.

boolean Gtk::Gdk->event_send_client_message ($event, $xid)


boolean Gtk::Gdk->event_send_client_message ($event, $xid)

$event (Gtk::Gdk::Event)
$xid (integer)

Gtk::Gdk->event_send_clientmessage_toall ($event)

$event (Gtk::Gdk::Event)

Send to all the clients of the X server the client message event.

integer Gtk::Gdk->events_pending ()

Get the number of events in the Gdk queue that need to be serviced.

Gtk::Gdk->exit ($code)

$code (integer)

Exit the program with status code.

Gtk::Gdk->flush ()

Flush any pending graphic operation.

string Gtk::Gdk->get_display ()

Get the string describing the display the application runs on.

integer Gtk::Gdk->get_show_events ()


integer Gtk::Gdk->get_use_xshm ()

Get information about the use of the X Shared memory extension.

Gtk::Gdk->init ()

Initialize the Gtk::Gdk module. Parses the args out of @ARGV.

boolean Gtk::Gdk->init_check ()

Initialize the Gtk::Gdk module checking for a connection to the display.

integer Gtk::Gdk->input_add ($source, $condition, $handler, ...)


integer Gtk::Gdk->input_add ($source, $condition, $handler, ...)

$source (integer)
$condition (Gtk::Gdk::InputCondition)
$handler (subroutine) input subroutine
... (list) additional args for $handler

Add an handler to be called when source (possibly a file descriptor) meets the specified condition. The handler is called with any additional arguments that are passed to this function, the source id and the condition that triggered the handler. Any return value from the handler is discarded.

Gtk::Gdk->input_remove ($tag)

$tag (integer)

Remove the input handler identified by tag.

Gtk::Gdk->key_repeat_disable ()


Gtk::Gdk->key_repeat_restore ()


integer $window->keyboard_grab ($owner_events, $time)


integer $window->keyboard_grab ($owner_events, $time)

$owner_events (integer)
$time (integer)

$time->keyboard_ungrab ()


$time->keyboard_ungrab ()


integer Gtk::Gdk->keyval_from_name ($name)

$name (string)

boolean Gtk::Gdk->keyval_is_lower ($keyval)

$keyval (integer)

boolean Gtk::Gdk->keyval_is_upper ($keyval)

$keyval (integer)

string Gtk::Gdk->keyval_name ($keyval)

$keyval (integer)

integer Gtk::Gdk->keyval_to_lower ($keyval)

$keyval (integer)

integer Gtk::Gdk->keyval_to_upper ($keyval)

$keyval (integer)

integer Gtk::Gdk->pointer_grab ($window, $owner_events, $event_mask, $confine_to, $cursor, $time)


integer Gtk::Gdk->pointer_grab ($window, $owner_events, $event_mask, $confine_to, $cursor, $time)

$window (Gtk::Gdk::Window)
$owner_events (integer)
$event_mask (Gtk::Gdk::EventMask)
$confine_to (Gtk::Gdk::Window) may be undef
$cursor (Gtk::Gdk::Cursor)
$time (integer)

Grab the pointer optionally confining the cursor in the window confine_to and changing the cursor. Cursor events are reported only to window.

integer Gtk::Gdk->pointer_is_grabbed ()

Returns TRUE if the pointer is grabbed.

Gtk::Gdk->pointer_ungrab ($time)

$time (integer)

Ungrab the pointer.

integer Gtk::Gdk->screen_height ()

Get the height of the screen.

integer Gtk::Gdk->screen_height_mm ()

Get the height of the screen in mm.

integer Gtk::Gdk->screen_width ()

Get the width of the screen.

integer Gtk::Gdk->screen_width_mm ()

Get the width of the screen in mm.

Gtk::Gdk->selection_send_notify ($requestor, $selection, $target, $property, $time)


Gtk::Gdk->selection_send_notify ($requestor, $selection, $target, $property, $time)

$requestor (integer)
$selection (Gtk::Gdk::Atom)
$target (Gtk::Gdk::Atom)
$property (Gtk::Gdk::Atom)
$time (integer)

string Gtk::Gdk->set_locale ()


Gtk::Gdk->set_show_events ($show_events)

$show_events (boolean)

Gtk::Gdk->set_sm_client_id ($client_id)

$client_id (string)

Gtk::Gdk->set_use_xshm ($use_xshm)

$use_xshm (boolean)

Enable or disable the use of the X Shred memory extension.

Gtk::Gdk->threads_enter ()


Gtk::Gdk->threads_leave ()


integer Gtk::Gdk->time_get ()


Gtk::Gdk->timer_disable ()


Gtk::Gdk->timer_enable ()


integer Gtk::Gdk->timer_get ()


Gtk::Gdk->timer_set ($value)

$value (integer)

Gtk::Gdk::Atom


Gtk::Gdk::Atom Gtk::Gdk::Atom->intern ($atom_name, $only_if_exists)


Gtk::Gdk::Atom Gtk::Gdk::Atom->intern ($atom_name, $only_if_exists)

$atom_name (string)
$only_if_exists (integer)

Get the id bound to $name. Create it if $only_if_exists is false.

scalar Gtk::Gdk::Atom->name ($atom)

$atom (Gtk::Gdk::Atom)

Get the name of $atom.

Gtk::Gdk::Bitmap


Gtk::Gdk::Bitmap Gtk::Gdk::Bitmap->create_from_data ($window, $data, $width, $height)


Gtk::Gdk::Bitmap Gtk::Gdk::Bitmap->create_from_data ($window, $data, $width, $height)

$window (Gtk::Gdk::Window)
$data (scalar)
$width (integer)
$height (integer)

Gtk::Gdk::Color


integer $color->blue ($new_value)


integer $color->blue ($new_value)

$new_value (integer)

Get the blue component of $color. Set a new value if given an arg.

integer $colora->equal ($colorb)


integer $colora->equal ($colorb)

$colorb (Gtk::Gdk::Color)

Find out if two colors are equal.

integer $color->green ($new_value)


integer $color->green ($new_value)

$new_value (integer)

Get the green component of $color. Set a new value if given an arg.

Gtk::Gdk::Color Gtk::Gdk::Color->parse_color ($name)

$name (string)

Query the red, green and blue components of the named color.

integer $color->pixel ($new_value)


integer $color->pixel ($new_value)

$new_value (integer)

Get the pixel valu of $color. Set a new value if given an arg.

integer $color->red ($new_value)


integer $color->red ($new_value)

$new_value (integer)

Get the red component of $color. Set a new value if given an arg.

Gtk::Gdk::ColorContext


$colorc->free ()


$colorc->free ()


integer $colorc->get_pixel ($red, $green, $blue)


integer $colorc->get_pixel ($red, $green, $blue)

$red (integer)
$green (integer)
$blue (integer)

Get the pixel value for the given (red, green, blue) tuple.

Gtk::Gdk::ColorContext Gtk::Gdk::ColorContext->new ($visual, $colormap)


Gtk::Gdk::ColorContext Gtk::Gdk::ColorContext->new ($visual, $colormap)

$visual (Gtk::Gdk::Visual)
$colormap (Gtk::Gdk::Colormap)

Gtk::Gdk::ColorContext Gtk::Gdk::ColorContext->new_mono ($visual, $colormap)


Gtk::Gdk::ColorContext Gtk::Gdk::ColorContext->new_mono ($visual, $colormap)

$visual (Gtk::Gdk::Visual)
$colormap (Gtk::Gdk::Colormap)

Gtk::Gdk::Colormap


integer $cmap->XCOLORMAP ()


integer $cmap->XCOLORMAP ()


$colormap->change ($ncolors)


$colormap->change ($ncolors)

$ncolors (integer)

scalar $colormap->color ($idx)


scalar $colormap->color ($idx)

$idx (integer)

$colormap->color_alloc ($color)


$colormap->color_alloc ($color)

$color (Gtk::Gdk::Color)

Allocate $color in $colormap.

$colormap->color_black ()


$colormap->color_black ()

Get the black color from $colormap.

$colormap->color_change ($color)


$colormap->color_change ($color)

$color (Gtk::Gdk::Color)

$colormap->color_white ()


$colormap->color_white ()

Get the white color from $colormap.

Gtk::Gdk::Colormap Gtk::Gdk::Colormap->get_system ()

Get the system colormap.

integer Gtk::Gdk::Colormap->get_system_size ()

Get the size of the system colormap.

Gtk::Gdk::Visual $colormap->get_visual ()


Gtk::Gdk::Visual $colormap->get_visual ()


Gtk::Gdk::Colormap Gtk::Gdk::Colormap->new ($visual, $allocate)


Gtk::Gdk::Colormap Gtk::Gdk::Colormap->new ($visual, $allocate)

$visual (Gtk::Gdk::Visual)
$allocate (integer)

Gtk::Gdk::Cursor


$cursor->destroy ()


$cursor->destroy ()


Gtk::Gdk::Cursor Gtk::Gdk::Cursor->new ($type)

$type (integer)

Create a new cursor.

Gtk::Gdk::Cursor Gtk::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg, $x, $y)


Gtk::Gdk::Cursor Gtk::Gdk::Cursor->new_from_pixmap ($source, $mask, $fg, $bg, $x, $y)

$source (Gtk::Gdk::Pixmap)
$mask (Gtk::Gdk::Pixmap)
$fg (Gtk::Gdk::Color)
$bg (Gtk::Gdk::Color)
$x (integer)
$y (integer)

Create a new cursor from the specified data. Both $source and $mask must have depth == 1. $x and $y are the coordinates of the hot-spot in the cursor.

Gtk::Gdk::DragContext


$context->abort ($time)


$context->abort ($time)

$time (integer)

Gtk::Gdk::DragContext Gtk::Gdk::DragContext->begin ($window, ...)

$window (Gtk::Gdk::Window)
... (list) list of Gtk::Gdk::Atom

$context->drop ($time)


$context->drop ($time)

$time (integer)

$context->find_window ($drag_window, $x_root, $y_root)


$context->find_window ($drag_window, $x_root, $y_root)

$drag_window (Gtk::Gdk::Window)
$x_root (integer)
$y_root (integer)

$context->finish ($success, $del, $time)


$context->finish ($success, $del, $time)

$success (boolean)
$del (boolean)
$time (integer)

$context->gdk_drop_finish ($success, $time)


$context->gdk_drop_finish ($success, $time)

$success (boolean)
$time (integer)

$context->gdk_drop_reply ($ok, $time)


$context->gdk_drop_reply ($ok, $time)

$ok (boolean)
$time (integer)

Gtk::Gdk::DragContext->get_protocol ($xid)

$xid (integer)

Gtk::Gdk::Atom $context->get_selection ()


Gtk::Gdk::Atom $context->get_selection ()


Gtk::Widget $context->get_source_widget ()


Gtk::Widget $context->get_source_widget ()


boolean $context->motion ($dest_window, $protocol, $x_root, $y_root, $suggested_action, $possible_action, $time)


boolean $context->motion ($dest_window, $protocol, $x_root, $y_root, $suggested_action, $possible_action, $time)

$dest_window (Gtk::Gdk::Window)
$protocol (Gtk::Gdk::DragProtocol)
$x_root (integer)
$y_root (integer)
$suggested_action (Gtk::Gdk::DragAction)
$possible_action (Gtk::Gdk::DragAction)
$time (integer)

Gtk::Gdk::DragContext Gtk::Gdk::DragContext->new ()


$context->ref ()


$context->ref ()


Gtk::Gdk::DragContext->set_default_icon ($colormap, $pixmap, $mask, $hot_x, $hot_y)


Gtk::Gdk::DragContext->set_default_icon ($colormap, $pixmap, $mask, $hot_x, $hot_y)

$colormap (Gtk::Gdk::Colormap) may be undef
$pixmap (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef
$hot_x (integer)
$hot_y (integer)

$context->set_icon_default ()


$context->set_icon_default ()


$context->set_icon_pixmap ($colormap, $pixmap, $mask, $hot_x, $hot_y)


$context->set_icon_pixmap ($colormap, $pixmap, $mask, $hot_x, $hot_y)

$colormap (Gtk::Gdk::Colormap) may be undef
$pixmap (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef
$hot_x (integer)
$hot_y (integer)

$context->set_icon_widget ($widget, $hot_x, $hot_y)


$context->set_icon_widget ($widget, $hot_x, $hot_y)

$widget (Gtk::Widget)
$hot_x (integer)
$hot_y (integer)

$context->status ($action, $time)


$context->status ($action, $time)

$action (Gtk::Gdk::DragAction)
$time (integer)

Gtk::Gdk::DragAction $context->suggested_action ()


Gtk::Gdk::DragAction $context->suggested_action ()


list $context->targets ()


list $context->targets ()


$context->unref ()


$context->unref ()

Gtk::Gdk::Font


integer $font->ascent ()


integer $font->ascent ()

Get the ascent of $font.

integer $font->char_measure ($character)


integer $font->char_measure ($character)

$character (integer)

integer $font->char_width ($character)


integer $font->char_width ($character)

$character (integer)

Get the width of $character.

integer $font->descent ()


integer $font->descent ()

Get the descent of $font.

boolean $fonta->equal ($fontb)


boolean $fonta->equal ($fontb)

$fontb (Gtk::Gdk::Font)

Gtk::Gdk::Font Gtk::Gdk::Font->fontset_load ($fontset_name)

$fontset_name (string)

Create a new fontset from $name.

integer $font->id ()


integer $font->id ()


Gtk::Gdk::Font Gtk::Gdk::Font->load ($font_name)

$font_name (string)

Create a new font from $name.

$font->ref ()


$font->ref ()


$font->string_extents ($text, $len)


$font->string_extents ($text, $len)

$text (scalar)
$len (integer)

Get infromation about $text's extents.

integer $font->string_height ($text, $len)


integer $font->string_height ($text, $len)

$text (scalar)
$len (integer)

Get the height of $text.

integer $font->string_measure ($string)


integer $font->string_measure ($string)

$string (string)

integer $font->string_width ($string)


integer $font->string_width ($string)

$string (string)

Get the width of $string.

$font->text_extents ($text, $len)


$font->text_extents ($text, $len)

$text (scalar)
$len (scalar)

Get infromation about $text's extents.

integer $font->text_height ($text, $len)


integer $font->text_height ($text, $len)

$text (scalar)
$len (scalar)

Get the height of $text.

integer $font->text_measure ($text, $text_length)


integer $font->text_measure ($text, $text_length)

$text (string)
$text_length (integer)

integer $font->text_width ($text, $text_length)


integer $font->text_width ($text, $text_length)

$text (string)
$text_length (integer)

Get the width first $text_len chars of $string.

Gtk::Gdk::GC


$gc->destroy ()


$gc->destroy ()


Gtk::Gdk::GCValues $gc->get_values ()


Gtk::Gdk::GCValues $gc->get_values ()

Get the attributes of the graphics context.

Gtk::Gdk::GC Gtk::Gdk::GC->new ($pixmap, $values)


Gtk::Gdk::GC Gtk::Gdk::GC->new ($pixmap, $values)

$pixmap (Gtk::Gdk::Pixmap)
$values (Gtk::Gdk::GCValues) GC attributes, optional

Create a new graphic context for use with $pixmap having the specified attributes. If the attributes are not specified, use default values.

$gc->rgb_gc_set_background ($rgb)


$gc->rgb_gc_set_background ($rgb)

$rgb (integer)

$gc->rgb_gc_set_foreground ($rgb)


$gc->rgb_gc_set_foreground ($rgb)

$rgb (integer)

$gc->set_background ($color)


$gc->set_background ($color)

$color (Gtk::Gdk::Color)

Set the background color of $gc. The color must be already allocated.

$gc->set_clip_mask ($mask)


$gc->set_clip_mask ($mask)

$mask (Gtk::Gdk::Bitmap)

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


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

$x (integer)
$y (integer)

$gc->set_clip_rectangle ($rectangle)


$gc->set_clip_rectangle ($rectangle)

$rectangle (Gtk::Gdk::Rectangle)

$gc->set_clip_region ($region)


$gc->set_clip_region ($region)

$region (Gtk::Gdk::Region)

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


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

$offset (integer)
... (list) list of integers with dash lengths

$gc->set_exposures ($exposures)


$gc->set_exposures ($exposures)

$exposures (integer)

$gc->set_fill ($fill)


$gc->set_fill ($fill)

$fill (Gtk::Gdk::Fill)

Set the fill rule.

$gc->set_font ($font)


$gc->set_font ($font)

$font (Gtk::Gdk::Font)

Set the font in $gc.

$gc->set_foreground ($color)


$gc->set_foreground ($color)

$color (Gtk::Gdk::Color)

Set the foreground color of $gc. The color must be already allocated.

$gc->set_function ($function)


$gc->set_function ($function)

$function (Gtk::Gdk::Function)

Set the function to use in drawing operations.

$gc->set_line_attributes ($line_width, $line_style, $cap_style, $join_style)


$gc->set_line_attributes ($line_width, $line_style, $cap_style, $join_style)

$line_width (integer)
$line_style (Gtk::Gdk::LineStyle)
$cap_style (Gtk::Gdk::CapStyle)
$join_style (Gtk::Gdk::JoinStyle)

Set the attributes to use when drawing lines.

$gc->set_stipple ($stipple)


$gc->set_stipple ($stipple)

$stipple (Gtk::Gdk::Pixmap)

$gc->set_subwindow ($mode)


$gc->set_subwindow ($mode)

$mode (Gtk::Gdk::SubwindowMode)

$gc->set_tile ($tile)


$gc->set_tile ($tile)

$tile (Gtk::Gdk::Pixmap)

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


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

$x (integer)
$y (integer)

Gtk::Gdk::Image


$image->destroy ()


$image->destroy ()

Destroy the image.

Gtk::Gdk::Image Gtk::Gdk::Image->get ($window, $x, $y, $width, $height)


Gtk::Gdk::Image Gtk::Gdk::Image->get ($window, $x, $y, $width, $height)

$window (Gtk::Gdk::Window)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

Create a new image with the data from the specified rectangle of $window.

integer $image->get_pixel ($x, $y)


integer $image->get_pixel ($x, $y)

$x (integer)
$y (integer)

Get the $pixel value at ($x, $y) coordinates.

Gtk::Gdk::Image Gtk::Gdk::Image->new ($type, $visual, $width, $height)


Gtk::Gdk::Image Gtk::Gdk::Image->new ($type, $visual, $width, $height)

$type (Gtk::Gdk::ImageType)
$visual (Gtk::Gdk::Visual)
$width (integer)
$height (integer)

Create a new image with the specified width, height and visual.

$image->put_pixel ($x, $y, $pixel)


$image->put_pixel ($x, $y, $pixel)

$x (integer)
$y (integer)
$pixel (integer)

Put the $pixel value at ($x, $y) coordinates.

Gtk::Gdk::Pixmap


integer $window->XDISPLAY ()


integer $window->XDISPLAY ()


$window->XSetInputFocus ()


$window->XSetInputFocus ()


integer $window->XWINDOW ()


integer $window->XWINDOW ()

Get the low-level id of the drawable.

list Gtk::Gdk::Pixmap->colormap_create_from_xpm ($window, $colormap, $transparent_color, $filename)


list Gtk::Gdk::Pixmap->colormap_create_from_xpm ($window, $colormap, $transparent_color, $filename)

$window (Gtk::Gdk::Window) may be undef
$colormap (Gtk::Gdk::Colormap) may be undef
$transparent_color (Gtk::Gdk::Color) may be undef
$filename (string)

Creates a pixmap from $filename. Either $window or $colormap can be undef, but not both.

list Gtk::Gdk::Pixmap->colormap_create_from_xpm_d ($window, $colormap, $transparent_color, $data, ...)


list Gtk::Gdk::Pixmap->colormap_create_from_xpm_d ($window, $colormap, $transparent_color, $data, ...)

$window (Gtk::Gdk::Window) may be undef
$colormap (Gtk::Gdk::Colormap) may be undef
$transparent_color (Gtk::Gdk::Color) may be undef
$data (scalar)
... (list)

Creates a pixmap from XPM formatted data. Either $window or $colormap can be undef, but not both.

Gtk::Gdk::Pixmap Gtk::Gdk::Pixmap->create_from_data ($window, $data, $width, $height, $depth, $fg, $bg)


Gtk::Gdk::Pixmap Gtk::Gdk::Pixmap->create_from_data ($window, $data, $width, $height, $depth, $fg, $bg)

$window (Gtk::Gdk::Window)
$data (scalar)
$width (integer)
$height (integer)
$depth (integer)
$fg (Gtk::Gdk::Color)
$bg (Gtk::Gdk::Color)

list Gtk::Gdk::Pixmap->create_from_xpm ($window, $transparent_color, $filename)


list Gtk::Gdk::Pixmap->create_from_xpm ($window, $transparent_color, $filename)

$window (Gtk::Gdk::Window)
$transparent_color (Gtk::Gdk::Color)
$filename (string)

Create a pixmap from $filename.

list Gtk::Gdk::Pixmap->create_from_xpm_d ($window, $transparent_color, $data, ...)


list Gtk::Gdk::Pixmap->create_from_xpm_d ($window, $transparent_color, $data, ...)

$window (Gtk::Gdk::Window)
$transparent_color (Gtk::Gdk::Color) may be undef
$data (scalar)
... (list)

Create a pixmap from the XPM formatted data. The data is a list of strings each of which has a line of data.

$pixmap->draw_arc ($gc, $filled, $x, $y, $width, $height, $angle1, $angle2)


$pixmap->draw_arc ($gc, $filled, $x, $y, $width, $height, $angle1, $angle2)

$gc (Gtk::Gdk::GC)
$filled (boolean)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$angle1 (integer)
$angle2 (integer)

Draw an (optionally filled) arc. $angle1 and $angle2 are in degrees * 64.

$pixmap->draw_gray_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)


$pixmap->draw_gray_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)

$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk::Gdk::Rgb::Dither)
$rgb_buf (unsigned char*)
$rowstride (integer)

$pixmap->draw_image ($gc, $image, $xsrc, $ysrc, $xdest, $ydest, $width, $height)


$pixmap->draw_image ($gc, $image, $xsrc, $ysrc, $xdest, $ydest, $width, $height)

$gc (Gtk::Gdk::GC)
$image (Gtk::Gdk::Image)
$xsrc (integer)
$ysrc (integer)
$xdest (integer)
$ydest (integer)
$width (integer)
$height (integer)

$pixmap->draw_indexed_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $cmap)


$pixmap->draw_indexed_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $cmap)

$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk::Gdk::Rgb::Dither)
$rgb_buf (unsigned char*)
$rowstride (integer)
$cmap (Gtk::Gdk::Rgb::Cmap)

$pixmap->draw_line ($gc, $x1, $y1, $x2, $y2)


$pixmap->draw_line ($gc, $x1, $y1, $x2, $y2)

$gc (Gtk::Gdk::GC)
$x1 (integer)
$y1 (integer)
$x2 (integer)
$y2 (integer)

Draw a line from ($x1, $y1) to ($x2, $y2).

$pixmap->draw_lines ($gc, ...)


$pixmap->draw_lines ($gc, ...)

$gc (Gtk::Gdk::GC)
... (list) list with the x and y coordinates of the line ends

$pixmap->draw_pixmap ($gc, $src, $xsrc, $ysrc, $xdest, $ydest, $width, $height)


$pixmap->draw_pixmap ($gc, $src, $xsrc, $ysrc, $xdest, $ydest, $width, $height)

$gc (Gtk::Gdk::GC)
$src (Gtk::Gdk::Pixmap)
$xsrc (integer)
$ysrc (integer)
$xdest (integer)
$ydest (integer)
$width (integer)
$height (integer)

Copy a rectangle from the $src pixmap to $pixmap at the ($xdest, $ydest) coordinates.

$pixmap->draw_point ($gc, $x, $y)


$pixmap->draw_point ($gc, $x, $y)

$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)

Draw a point at the ($x, $y) coordinates.

$pixmap->draw_points ($gc, $x, $y, ...)


$pixmap->draw_points ($gc, $x, $y, ...)

$gc (Gtk::Gdk::GC)
$x (integer) x coordinate of the point to draw
$y (integer) y coordinate of the point to draw
... (list) list with the x and y coordinates of additional points to draw

Draw the points.

$pixmap->draw_polygon ($gc, $filled, $x, $y, ...)


$pixmap->draw_polygon ($gc, $filled, $x, $y, ...)

$gc (Gtk::Gdk::GC)
$filled (boolean)
$x (integer)
$y (integer)
... (list) coordinates the the vertex in the polygon

Draw an (optionally filled) polygon.

$pixmap->draw_rectangle ($gc, $filled, $x, $y, $width, $height)


$pixmap->draw_rectangle ($gc, $filled, $x, $y, $width, $height)

$gc (Gtk::Gdk::GC)
$filled (boolean)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

Draw an (optionally filled) rectangle at position ($x, $y) with size ($width, $height).

$pixmap->draw_rgb_32_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)


$pixmap->draw_rgb_32_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)

$gc (scalar)
$x (scalar)
$y (scalar)
$width (scalar)
$height (scalar)
$dith (scalar)
$rgb_buf (scalar)
$rowstride (scalar)

$pixmap->draw_rgb_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)


$pixmap->draw_rgb_image ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride)

$gc (scalar)
$x (scalar)
$y (scalar)
$width (scalar)
$height (scalar)
$dith (scalar)
$rgb_buf (scalar)
$rowstride (scalar)

$pixmap->draw_rgb_image_dithalign ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $xdith, $ydith)


$pixmap->draw_rgb_image_dithalign ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $xdith, $ydith)

$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk::Gdk::Rgb::Dither)
$rgb_buf (unsigned char*)
$rowstride (integer)
$xdith (integer)
$ydith (integer)

$pixmap->draw_segments ($gc, $x1, $y1, $x2, $y2, ...)


$pixmap->draw_segments ($gc, $x1, $y1, $x2, $y2, ...)

$gc (Gtk::Gdk::GC)
$x1 (integer)
$y1 (integer)
$x2 (integer)
$y2 (integer)
... (list) list with the x1,y1,x2 and y2 coordinates of the additional segments

$pixmap->draw_string ($font, $gc, $x, $y, $string)


$pixmap->draw_string ($font, $gc, $x, $y, $string)

$font (Gtk::Gdk::Font)
$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$string (scalar)

Draw the text $string at coordinates $x, $y.

$pixmap->draw_text ($font, $gc, $x, $y, $string, $text_length)


$pixmap->draw_text ($font, $gc, $x, $y, $string, $text_length)

$font (Gtk::Gdk::Font)
$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$string (string)
$text_length (integer)

Draw the first $text_len chars of $string at coordinates $x, $y.

Gtk::Gdk::Event $window->event_get_graphics_expose ()


Gtk::Gdk::Event $window->event_get_graphics_expose ()


Gtk::Gdk::Pixmap Gtk::Gdk::Pixmap->foreign_new ($xid)

$xid (integer)

Creates a pixmap from the specified low-level pixmap id.

$window->get_size ()


$window->get_size ()

Get the size of the drawable. This function croaks if not called in list context.

Gtk::Gdk::WindowType $window->get_type ()


Gtk::Gdk::WindowType $window->get_type ()

Get the type of the drawable.

Gtk::Gdk::Pixmap Gtk::Gdk::Pixmap->new ($window, $width, $height, $depth)


Gtk::Gdk::Pixmap Gtk::Gdk::Pixmap->new ($window, $width, $height, $depth)

$window (Gtk::Gdk::Window)
$width (integer)
$height (integer)
$depth (integer)

Create a new pixmap with the specified width and height. If $depth is not given, use the same depth of $window.

Gtk::Gdk::Property


$window->change ($property, $type, $format, $mode, $data, $nelements)


$window->change ($property, $type, $format, $mode, $data, $nelements)

$property (Gtk::Gdk::Atom)
$type (Gtk::Gdk::Atom)
$format (integer)
$mode (Gtk::Gdk::PropMode)
$data (string)
$nelements (integer)

Gtk::Gdk::Property->delete ($window, $property)


Gtk::Gdk::Property->delete ($window, $property)

$window (Gtk::Gdk::Window)
$property (Gtk::Gdk::Atom)

Delete the property $property from $window.

list Gtk::Gdk::Property->get ($window, $property, $type, $offset, $length, $pdelete)


list Gtk::Gdk::Property->get ($window, $property, $type, $offset, $length, $pdelete)

$window (Gtk::Gdk::Window)
$property (Gtk::Gdk::Atom)
$type (Gtk::Gdk::Atom)
$offset (integer)
$length (integer)
$pdelete (integer)

Gtk::Gdk::Rectangle


Gtk::Gdk::Rectangle Gtk::Gdk::Rectangle->intersect ($src1, $src2)


Gtk::Gdk::Rectangle Gtk::Gdk::Rectangle->intersect ($src1, $src2)

$src1 (Gtk::Gdk::Rectangle)
$src2 (Gtk::Gdk::Rectangle)

Gtk::Gdk::Rectangle Gtk::Gdk::Rectangle->union ($src1, $src2)


Gtk::Gdk::Rectangle Gtk::Gdk::Rectangle->union ($src1, $src2)

$src1 (Gtk::Gdk::Rectangle)
$src2 (Gtk::Gdk::Rectangle)

Gtk::Gdk::Region


$region->destroy ()


$region->destroy ()


boolean $region->empty ()


boolean $region->empty ()


boolean $region1->equal ($region2)


boolean $region1->equal ($region2)

$region2 (Gtk::Gdk::Region)

Gtk::Gdk::Rectangle $region->get_clipbox ()


Gtk::Gdk::Rectangle $region->get_clipbox ()


Gtk::Gdk::Region $region->intersect ($regionb)


Gtk::Gdk::Region $region->intersect ($regionb)

$regionb (Gtk::Gdk::Region)

Gtk::Gdk::Region Gtk::Gdk::Region->new ()


$region->offset ($dx, $dy)


$region->offset ($dx, $dy)

$dx (integer)
$dy (integer)

boolean $region->point_in ($x, $y)


boolean $region->point_in ($x, $y)

$x (integer)
$y (integer)

Gtk::Gdk::Region Gtk::Gdk::Region->polygon ($fill_rule, ...)

$fill_rule (Gtk::Gdk::FillRule)
... (list) x and y coordinates of the polygon

Gtk::Gdk::OverlapType $region->rect_in ($rectangle)


Gtk::Gdk::OverlapType $region->rect_in ($rectangle)

$rectangle (Gtk::Gdk::Rectangle)

$region->shrink ($dx, $dy)


$region->shrink ($dx, $dy)

$dx (integer)
$dy (integer)

Gtk::Gdk::Region $region->subtract ($regionb)


Gtk::Gdk::Region $region->subtract ($regionb)

$regionb (Gtk::Gdk::Region)

Gtk::Gdk::Region $region->union ($regionb)


Gtk::Gdk::Region $region->union ($regionb)

$regionb (Gtk::Gdk::Region)

Gtk::Gdk::Region $region->union_with_rect ($rectangle)


Gtk::Gdk::Region $region->union_with_rect ($rectangle)

$rectangle (Gtk::Gdk::Rectangle)

Gtk::Gdk::Region $region->xor ($regionb)


Gtk::Gdk::Region $region->xor ($regionb)

$regionb (Gtk::Gdk::Region)

Gtk::Gdk::Rgb


boolean Gtk::Gdk::Rgb->ditherable ()


Gtk::Gdk::Colormap Gtk::Gdk::Rgb->get_cmap ()


Gtk::Gdk::Visual Gtk::Gdk::Rgb->get_visual ()


Gtk::Gdk::Rgb->init ()

Initialize the Gtk::Gdk::Rgb subsystem. This is required before calling any of the

Gtk::Gdk::Rgb->set_install ($install)

$install (boolean)

Gtk::Gdk::Rgb->set_min_colors ($min_colors)

$min_colors (integer)

integer Gtk::Gdk::Rgb->xpixel_from_rgb ($rgb)

$rgb (integer)

Gtk::Gdk::Rgb::Cmap


$cmap->free ()


$cmap->free ()


Gtk::Gdk::Rgb::Cmap Gtk::Gdk::Rgb::Cmap->new (...)

... (list)

Gtk::Gdk::Selection


Gtk::Gdk::Window Gtk::Gdk::Selection->owner_get ($selection)

$selection (Gtk::Gdk::Atom)

Get the window the owns $selection.

Gtk::Gdk::Visual


integer $visual->XVISUAL ()


integer $visual->XVISUAL ()


Gtk::Gdk::Visual Gtk::Gdk::Visual->best ($depth, $type)


Gtk::Gdk::Visual Gtk::Gdk::Visual->best ($depth, $type)

$depth (scalar)
$type (scalar)

integer Gtk::Gdk::Visual->best_depth ()


scalar Gtk::Gdk::Visual->best_type ()


list Gtk::Gdk::Visual->depths ()


Gtk::Gdk::Visual Gtk::Gdk::Visual->system ()


list Gtk::Gdk::Visual->visual_types ()


list Gtk::Gdk::Visual->visuals ()

Gtk::Gdk::Window


list Gtk::Gdk::Window->at_pointer ()

Get the window at the current pointer coordinates.

$window->clear ()


$window->clear ()


$window->clear_area ($x, $y, $width, $height)


$window->clear_area ($x, $y, $width, $height)

$x (integer)
$y (integer)
$width (integer)
$height (integer)

Clear the specified area of the background of the window.

$window->clear_area_e ($x, $y, $width, $height)


$window->clear_area_e ($x, $y, $width, $height)

$x (integer)
$y (integer)
$width (integer)
$height (integer)

Clear the specified area of the background of the window. Also generate an expose event for the area.

$window->copy_area ($gc, $x, $y, $source_window, $source_x, $source_y, $width, $height)


$window->copy_area ($gc, $x, $y, $source_window, $source_x, $source_y, $width, $height)

$gc (Gtk::Gdk::GC)
$x (integer)
$y (integer)
$source_window (Gtk::Gdk::Window)
$source_x (integer)
$source_y (integer)
$width (integer)
$height (integer)

Copy the specified area from source_window to the (x, y) position in window.

$window->destroy ()


$window->destroy ()


$window->get_children ()


$window->get_children ()

Get the children of window.

Gtk::Gdk::Colormap $window->get_colormap ()


Gtk::Gdk::Colormap $window->get_colormap ()

Get the colormap of the window.

list $window->get_deskrelative_origin ()


list $window->get_deskrelative_origin ()


Gtk::Gdk::EventMask $window->get_events ()


Gtk::Gdk::EventMask $window->get_events ()

Get the event mask for window.

$window->get_geometry ()


$window->get_geometry ()

Get info about the geometry of the window.

list $window->get_origin ()


list $window->get_origin ()


Gtk::Gdk::Window $window->get_parent ()


Gtk::Gdk::Window $window->get_parent ()

Get the parent window.

$window->get_pointer ()


$window->get_pointer ()

Get information about the pointer position in window. This function croaks if not called in list context.

$window->get_position ()


$window->get_position ()

Get the position of the window. This function croaks if not called in list context.

list $window->get_root_origin ()


list $window->get_root_origin ()


Gtk::Gdk::Window $window->get_toplevel ()


Gtk::Gdk::Window $window->get_toplevel ()

Get the toplevel window.

Gtk::Gdk::Visual $window->get_visual ()


Gtk::Gdk::Visual $window->get_visual ()

Get the visual of the window.

$window->hide ()


$window->hide ()


boolean $window->is_viewable ()


boolean $window->is_viewable ()


boolean $window->is_visible ()


boolean $window->is_visible ()

Get info about the window visibility.

$window->lower ()


$window->lower ()


$window->merge_child_shapes ()


$window->merge_child_shapes ()


$window->move ($x, $y)


$window->move ($x, $y)

$x (integer)
$y (integer)

Move the window to the new x and y coordinates.

$window->move_resize ($x, $y, $width, $height)


$window->move_resize ($x, $y, $width, $height)

$x (integer)
$y (integer)
$width (integer)
$height (integer)

Move and resize the window at the same time.

Gtk::Gdk::Window Gtk::Gdk::Window->new ($attr)

$attr (scalar)

Create a new Gtk::Gdk::Window using the specified attributes.

Gtk::Gdk::Window Gtk::Gdk::Window->new_foreign ($anid)

$anid (integer)

Create a new Gtk::Gd;::Window from the specified window id. This function croaks if the window cannot be created.

$window->property_change ($property, $type, $format, $mode, $data, $nelements)


$window->property_change ($property, $type, $format, $mode, $data, $nelements)

$property (Gtk::Gdk::Atom)
$type (Gtk::Gdk::Atom)
$format (integer)
$mode (Gtk::Gdk::PropMode)
$data (string)
$nelements (integer)

$window->property_delete ($property)


$window->property_delete ($property)

$property (Gtk::Gdk::Atom)

Delete the property $property from $window.

list $window->property_get ($property, $type, $offset, $length, $pdelete)


list $window->property_get ($property, $type, $offset, $length, $pdelete)

$property (Gtk::Gdk::Atom)
$type (Gtk::Gdk::Atom)
$offset (integer)
$length (integer)
$pdelete (integer)

$window->raise ()


$window->raise ()


$window->register_dnd ()


$window->register_dnd ()


$window->reparent ($new_parent, $x, $y)


$window->reparent ($new_parent, $x, $y)

$new_parent (Gtk::Gdk::Window)
$x (integer)
$y (integer)

Reparent window at the x and y coordinates in new_parent.

$window->resize ($width, $height)


$window->resize ($width, $height)

$width (integer)
$height (integer)

Resize the window to the new width and height.

$window->selection_convert ($selection, $target, $time)


$window->selection_convert ($selection, $target, $time)

$selection (Gtk::Gdk::Atom)
$target (Gtk::Gdk::Atom)
$time (integer)

Convert the specified selection to the type identified by target.

integer $window->selection_owner_set ($selection, $time, $send_event)


integer $window->selection_owner_set ($selection, $time, $send_event)

$selection (Gtk::Gdk::Atom)
$time (integer)
$send_event (integer)

$window->selection_property_get ()


$window->selection_property_get ()

Get the value and type of the selection property.

$window->set_back_pixmap ($pixmap, $parent_relative)


$window->set_back_pixmap ($pixmap, $parent_relative)

$pixmap (Gtk::Gdk::Pixmap)
$parent_relative (integer)

Set the specified pixmap as the background of window.

$window->set_background ($color)


$window->set_background ($color)

$color (Gtk::Gdk::Color)

Set the background color of the window.

$window->set_child_shapes ()


$window->set_child_shapes ()


$window->set_colormap ($colormap)


$window->set_colormap ($colormap)

$colormap (Gtk::Gdk::Colormap)

Set the specified colormap for the window.

$window->set_cursor ($Cursor)


$window->set_cursor ($Cursor)

$Cursor (Gtk::Gdk::Cursor) may be undef

Tell the system to use the specified cursor inside window. An undefined value sets the cursor to the default one.

$window->set_decorations ($decorations)


$window->set_decorations ($decorations)

$decorations (Gtk::Gdk::WMDecoration)

Set the decorations that should appear in the window's frame.

$window->set_events ($event_mask)


$window->set_events ($event_mask)

$event_mask (Gtk::Gdk::EventMask)

Set the event mask for window. Only the events specified by the mask will be handled.

$window->set_functions ($functions)


$window->set_functions ($functions)

$functions (Gtk::Gdk::WMFunction)

Set the functions that should appear in the window's title bar.

$window->set_geometry_hints ($geometry, $flags)


$window->set_geometry_hints ($geometry, $flags)

$geometry (Gtk::Gdk::Geometry)
$flags (Gtk::Gdk::WindowHints)

$window->set_group ($leader)


$window->set_group ($leader)

$leader (Gtk::Gdk::Window)

$window->set_hints ($x, $y, $min_width, $min_height, $max_width, $max_height, $flags)


$window->set_hints ($x, $y, $min_width, $min_height, $max_width, $max_height, $flags)

$x (integer)
$y (integer)
$min_width (integer)
$min_height (integer)
$max_width (integer)
$max_height (integer)
$flags (Gtk::Gdk::WindowHints)

$window->set_icon ($icon_window, $pixmap, $mask)


$window->set_icon ($icon_window, $pixmap, $mask)

$icon_window (Gtk::Gdk::Window) may be undef
$pixmap (Gtk::Gdk::Pixmap)
$mask (Gtk::Gdk::Bitmap)

$window->set_icon_name ($name)


$window->set_icon_name ($name)

$name (string)

Set the name of the icon for window.

$window->set_override_redirect ($override_redirect)


$window->set_override_redirect ($override_redirect)

$override_redirect (boolean)

Set if the window manager should handle this window or not.

$window->set_role ($role)


$window->set_role ($role)

$role (string)

boolean $window->set_static_gravities ($use_static)


boolean $window->set_static_gravities ($use_static)

$use_static (boolean)

$window->set_title ($title)


$window->set_title ($title)

$title (string)

Set the title of the window.

$window->set_transient_for ($leader)


$window->set_transient_for ($leader)

$leader (Gtk::Gdk::Window)

Set window as a transient window for leader.

$window->shape_combine_mask ($shape_mask, $offset_x, $offset_y)


$window->shape_combine_mask ($shape_mask, $offset_x, $offset_y)

$shape_mask (Gtk::Gdk::Bitmap)
$offset_x (integer)
$offset_y (integer)

$window->show ()


$window->show ()


$window->withdraw ()


$window->withdraw ()

Gtk::HBox


Gtk::HBox Gtk::HBox->new ($homogeneous, $spacing)


Gtk::HBox Gtk::HBox->new ($homogeneous, $spacing)

$homogeneous (boolean)
$spacing (integer)

Gtk::HButtonBox


Gtk::ButtonBoxStyle Gtk::HButtonBox->get_layout_default ()


integer Gtk::HButtonBox->get_spacing_default ()


Gtk::HButtonBox Gtk::HButtonBox->new ()


Gtk::HButtonBox->set_layout_default ($layout)

$layout (Gtk::ButtonBoxStyle)

Gtk::HButtonBox->set_spacing_default ($spacing)

$spacing (integer)

Gtk::HPaned


Gtk::HPaned Gtk::HPaned->new ()

Gtk::HRuler


Gtk::HRuler Gtk::HRuler->new ()

Gtk::HScale


Gtk::HScale Gtk::HScale->new ($adjustment)

$adjustment (Gtk::Adjustment)

Gtk::HScrollbar


Gtk::HScrollbar Gtk::HScrollbar->new ($adjustment)

$adjustment (Gtk::Adjustment)

Gtk::HSeparator


Gtk::HSeparator Gtk::HSeparator->new ()

Gtk::HandleBox


Gtk::HandleBox Gtk::HandleBox->new ()


$handlebox->set_handle_position ($position)


$handlebox->set_handle_position ($position)

$position (Gtk::PositionType)

$handlebox->set_shadow_type ($type)


$handlebox->set_shadow_type ($type)

$type (Gtk::ShadowType)

$handlebox->set_snap_edge ($edge)


$handlebox->set_snap_edge ($edge)

$edge (Gtk::PositionType)

Gtk::Image


$image->get ()


$image->get ()


Gtk::Image Gtk::Image->new ($val, $mask)


Gtk::Image Gtk::Image->new ($val, $mask)

$val (Gtk::Gdk::Image)
$mask (Gtk::Gdk::Bitmap) may be undef

$image->set ($val, $mask)


$image->set ($val, $mask)

$val (Gtk::Gdk::Image) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef

Gtk::InputDialog


Gtk::Widget $dialog->axis_list ()


Gtk::Widget $dialog->axis_list ()


Gtk::Widget $dialog->axis_listbox ()


Gtk::Widget $dialog->axis_listbox ()


Gtk::Widget $dialog->close_button ()


Gtk::Widget $dialog->close_button ()


integer $dialog->current_device ()


integer $dialog->current_device ()


Gtk::Widget $dialog->mode_optionmenu ()


Gtk::Widget $dialog->mode_optionmenu ()


Gtk::InputDialog Gtk::InputDialog->new ()


Gtk::Widget $dialog->save_button ()


Gtk::Widget $dialog->save_button ()

Gtk::Invisible


Gtk::Invisible Gtk::Invisible->new ()

Gtk::Item


$item->deselect ()


$item->deselect ()


$item->select ()


$item->select ()


$item->toggle ()


$item->toggle ()

Gtk::ItemFactory


Gtk::ItemFactory->add_foreign ($accel_widget, $full_path, $accel_group, $keyval, $modifiers)


Gtk::ItemFactory->add_foreign ($accel_widget, $full_path, $accel_group, $keyval, $modifiers)

$accel_widget (Gtk::Widget)
$full_path (string)
$accel_group (Gtk::AccelGroup)
$keyval (integer)
$modifiers (Gtk::Gdk::ModifierType)

$item_factory->construct ($container_type, $path, $accel_group)


$item_factory->construct ($container_type, $path, $accel_group)

$container_type (string)
$path (string)
$accel_group (Gtk::AccelGroup)

$item_factory->create_item ($entry, ...)


$item_factory->create_item ($entry, ...)

$entry (Gtk::ItemFactory::Entry)
... (list)

$item_factory->create_items (...)


$item_factory->create_items (...)

... (list)

$item_factory->delete_entry ($entry)


$item_factory->delete_entry ($entry)

$entry (Gtk::ItemFactory::Entry)

$item_factory->delete_item ($path)


$item_factory->delete_item ($path)

$path (string)

Gtk::Widget $item_factory->get_item ($path)


Gtk::Widget $item_factory->get_item ($path)

$path (string)

Gtk::Widget $item_factory->get_item_by_action ($action)


Gtk::Widget $item_factory->get_item_by_action ($action)

$action (integer)

Gtk::Widget $item_factory->get_widget ($path)


Gtk::Widget $item_factory->get_widget ($path)

$path (string)

Gtk::Widget $item_factory->get_widget_by_action ($action)


Gtk::Widget $item_factory->get_widget_by_action ($action)

$action (integer)

Gtk::ItemFactory Gtk::ItemFactory->new ($container_type, $path, $accel_group)


Gtk::ItemFactory Gtk::ItemFactory->new ($container_type, $path, $accel_group)

$container_type (string)
$path (string)
$accel_group (Gtk::AccelGroup)

Gtk::ItemFactory->parse_rc ($file_name)

$file_name (string)

Gtk::ItemFactory->parse_rc_string ($rc_string)

$rc_string (string)

$item_factory->popup ($x, $y, $mouse_button, $time)


$item_factory->popup ($x, $y, $mouse_button, $time)

$x (integer)
$y (integer)
$mouse_button (integer)
$time (integer)

Gtk::Label


string $label->get ()


string $label->get ()


Gtk::Label Gtk::Label->new ($string)

$string (string)

integer $label->parse_uline ($string)


integer $label->parse_uline ($string)

$string (string)

$label->set ($string)


$label->set ($string)

$string (string)

$label->set_justify ($jtype)


$label->set_justify ($jtype)

$jtype (Gtk::Justification)

$label->set_line_wrap ($wrap)


$label->set_line_wrap ($wrap)

$wrap (boolean)

$label->set_pattern ($string)


$label->set_pattern ($string)

$string (scalar)

$label->set_text ($string)


$label->set_text ($string)

$string (scalar)

Gtk::Layout


Gtk::Gdk::Window $layout->bin_window ()


Gtk::Gdk::Window $layout->bin_window ()


$layout->freeze ()


$layout->freeze ()


Gtk::Adjustment $layout->get_hadjustment ()


Gtk::Adjustment $layout->get_hadjustment ()


Gtk::Adjustment $layout->get_vadjustment ()


Gtk::Adjustment $layout->get_vadjustment ()


integer $layout->height ()


integer $layout->height ()


$layout->move ($widget, $x, $y)


$layout->move ($widget, $x, $y)

$widget (Gtk::Widget)
$x (integer)
$y (integer)

Gtk::Layout Gtk::Layout->new ($hadj, $vadj)


Gtk::Layout Gtk::Layout->new ($hadj, $vadj)

$hadj (Gtk::Adjustment) may be undef
$vadj (Gtk::Adjustment) may be undef

$layout->put ($widget, $x, $y)


$layout->put ($widget, $x, $y)

$widget (scalar)
$x (scalar)
$y (scalar)

$layout->set_hadjustment ($hadj)


$layout->set_hadjustment ($hadj)

$hadj (Gtk::Adjustment) may be undef

$layout->set_size ($width, $height)


$layout->set_size ($width, $height)

$width (integer)
$height (integer)

$layout->set_vadjustment ($vadj)


$layout->set_vadjustment ($vadj)

$vadj (Gtk::Adjustment) may be undef

$layout->thaw ()


$layout->thaw ()


integer $layout->width ()


integer $layout->width ()


integer $layout->xoffset ()


integer $layout->xoffset ()


integer $layout->yoffset ()


integer $layout->yoffset ()

Gtk::List


$list->append_items (...)


$list->append_items (...)

... (list) list of Gtk::ListItem widgets

integer $list->child_position ($widget)


integer $list->child_position ($widget)

$widget (Gtk::Widget)

list $list->children ()


list $list->children ()


$list->clear_items ($start, $end)


$list->clear_items ($start, $end)

$start (integer)
$end (integer)

$list->end_drag_selection ()


$list->end_drag_selection ()


$list->end_selection ()


$list->end_selection ()


$list->extend_selection ($scroll_type, $position, $auto_start)


$list->extend_selection ($scroll_type, $position, $auto_start)

$scroll_type (Gtk::ScrollType)
$position (double)
$auto_start (boolean)

$list->insert_items ($position, ...)


$list->insert_items ($position, ...)

$position (integer)
... (list) list of Gtk::ListItem widgets

Gtk::List Gtk::List->new ()


$list->prepend_items (...)


$list->prepend_items (...)

... (list)

$list->remove_items (...)


$list->remove_items (...)

... (list)

$list->remove_items_no_unref (...)


$list->remove_items_no_unref (...)

... (list)

$list->scroll_horizontal ($scroll_type, $position)


$list->scroll_horizontal ($scroll_type, $position)

$scroll_type (Gtk::ScrollType)
$position (double)

$list->scroll_vertical ($scroll_type, $position)


$list->scroll_vertical ($scroll_type, $position)

$scroll_type (Gtk::ScrollType)
$position (double)

$list->select_all ()


$list->select_all ()


$list->select_child ($widget)


$list->select_child ($widget)

$widget (Gtk::Widget)

$list->select_item ($the_item)


$list->select_item ($the_item)

$the_item (integer)

list $list->selection ()


list $list->selection ()


$list->set_selection_mode ($mode)


$list->set_selection_mode ($mode)

$mode (Gtk::SelectionMode)

$list->start_selection ()


$list->start_selection ()


$list->toggle_add_mode ()


$list->toggle_add_mode ()


$list->toggle_focus_row ()


$list->toggle_focus_row ()


$list->toggle_row ($item)


$list->toggle_row ($item)

$item (Gtk::Widget)

$list->undo_selection ()


$list->undo_selection ()


$list->unselect_all ()


$list->unselect_all ()


$list->unselect_child ($widget)


$list->unselect_child ($widget)

$widget (scalar)

$list->unselect_item ($the_item)


$list->unselect_item ($the_item)

$the_item (scalar)

Gtk::ListItem


$list_item->deselect ()


$list_item->deselect ()


Gtk::ListItem Gtk::ListItem->new ($string)

$string (string)

Gtk::ListItem Gtk::ListItem->new_with_label ($string)

$string (scalar)

$list_item->select ()


$list_item->select ()

Gtk::Menu


$menu->append ($child)


$menu->append ($child)

$child (Gtk::Widget)

$menu->detach ()


$menu->detach ()


Gtk::AccelGroup $menu->ensure_unline_accel_group ()


Gtk::AccelGroup $menu->ensure_unline_accel_group ()


Gtk::AccelGroup $menu->get_accel_group ()


Gtk::AccelGroup $menu->get_accel_group ()


Gtk::MenuItem $menu->get_active ()


Gtk::MenuItem $menu->get_active ()


Gtk::Widget $menu->get_attach_widget ()


Gtk::Widget $menu->get_attach_widget ()


Gtk::AccelGroup $menu->get_unline_accel_group ()


Gtk::AccelGroup $menu->get_unline_accel_group ()


$menu->insert ($child, $position)


$menu->insert ($child, $position)

$child (Gtk::Widget)
$position (integer)

Gtk::Menu Gtk::Menu->new ()


$menu->popdown ()


$menu->popdown ()


$menu->popup ($parent_menu_shell, $parent_menu_item, $button, $activate_time, $func, ...)


$menu->popup ($parent_menu_shell, $parent_menu_item, $button, $activate_time, $func, ...)

$parent_menu_shell (Gtk::Widget) may be undef
$parent_menu_item (Gtk::Widget) may be undef
$button (integer)
$activate_time (integer)
$func (subroutine) subroutine to handle positioning of the menu: it gets the widget, the x and y coordinates; it should return the x, y coordinates
... (list) additional arguments that are passed to $func after the widget

$menu->prepend ($child)


$menu->prepend ($child)

$child (scalar)

$menu->reorder_child ($child, $position)


$menu->reorder_child ($child, $position)

$child (Gtk::Widget)
$position (integer)

$menu->reposition ()


$menu->reposition ()


$menu->set_accel_group ($accel_group)


$menu->set_accel_group ($accel_group)

$accel_group (Gtk::AccelGroup)

$menu->set_active ($index)


$menu->set_active ($index)

$index (integer)

$menu->set_tearoff_state ($torn_off)


$menu->set_tearoff_state ($torn_off)

$torn_off (boolean)

$menu->set_title ($title)


$menu->set_title ($title)

$title (string)

Gtk::MenuBar


$menubar->append ($child)


$menubar->append ($child)

$child (Gtk::Widget)

$menubar->insert ($child, $position)


$menubar->insert ($child, $position)

$child (Gtk::Widget)
$position (integer)

Gtk::MenuBar Gtk::MenuBar->new ()


$menubar->prepend ($child)


$menubar->prepend ($child)

$child (scalar)

$menubar->set_shadow_type ($type)


$menubar->set_shadow_type ($type)

$type (Gtk::ShadowType)

Gtk::MenuFactory


$factory->add_entries ($entry, ...)


$factory->add_entries ($entry, ...)

$entry (scalar)
... (list)

$factory->add_subfactory ($subfactory, $path)


$factory->add_subfactory ($subfactory, $path)

$subfactory (Gtk::MenuFactory)
$path (string)

$factory->destroy ()


$factory->destroy ()


string $factory->find ($path)


string $factory->find ($path)

$path (string)

Gtk::MenuFactory Gtk::MenuFactory->new ($type)

$type (Gtk::MenuFactoryType)

$factory->remove_entries ($entry, ...)


$factory->remove_entries ($entry, ...)

$entry (scalar)
... (list)

$factory->remove_paths ($path, ...)


$factory->remove_paths ($path, ...)

$path (scalar)
... (list)

$factory->remove_subfactory ($subfactory, $path)


$factory->remove_subfactory ($subfactory, $path)

$subfactory (Gtk::MenuFactory)
$path (string)

Gtk::Widget $factory->widget ()


Gtk::Widget $factory->widget ()

Gtk::MenuItem


$menu_item->activate ()


$menu_item->activate ()


$menu_item->configure ($show_toggle, $show_submenu)


$menu_item->configure ($show_toggle, $show_submenu)

$show_toggle (boolean)
$show_submenu (boolean)

$menu_item->deselect ()


$menu_item->deselect ()


Gtk::MenuItem Gtk::MenuItem->new ($label)

$label (string)

Gtk::MenuItem Gtk::MenuItem->new_with_label ($label)

$label (scalar)

$menu_item->remove_submenu ()


$menu_item->remove_submenu ()


$menu_item->right_justify ()


$menu_item->right_justify ()


$menu_item->select ()


$menu_item->select ()


$menu_item->set_placement ($placement)


$menu_item->set_placement ($placement)

$placement (Gtk::SubmenuPlacement)

$menu_item->set_submenu ($child)


$menu_item->set_submenu ($child)

$child (Gtk::Widget)

Gtk::MenuShell


$menu_shell->activate_item ($widget, $force_deactivate)


$menu_shell->activate_item ($widget, $force_deactivate)

$widget (Gtk::Widget)
$force_deactivate (boolean)

$menu_shell->append ($child)


$menu_shell->append ($child)

$child (Gtk::Widget)

$menu_shell->deactivate ()


$menu_shell->deactivate ()


$menu_shell->deselect ()


$menu_shell->deselect ()


$menu_shell->insert ($child, $position)


$menu_shell->insert ($child, $position)

$child (Gtk::Widget)
$position (integer)

$menu_shell->prepend ($child)


$menu_shell->prepend ($child)

$child (scalar)

$menu_shell->select_item ($child)


$menu_shell->select_item ($child)

$child (scalar)

Gtk::Misc


$misc->set_alignment ($xalign, $yalign)


$misc->set_alignment ($xalign, $yalign)

$xalign (double)
$yalign (double)

$misc->set_padding ($xpad, $ypad)


$misc->set_padding ($xpad, $ypad)

$xpad (double)
$ypad (double)

Gtk::Notebook


$notebook->append_page ($child, $tab_label)


$notebook->append_page ($child, $tab_label)

$child (Gtk::Widget)
$tab_label (Gtk::Widget) may be undef

$notebook->append_page_menu ($child, $tab_label, $menu_label)


$notebook->append_page_menu ($child, $tab_label, $menu_label)

$child (Gtk::Widget)
$tab_label (Gtk::Widget) may be undef
$menu_label (Gtk::Widget) may be undef

list $notebook->children ()


list $notebook->children ()


Gtk::NotebookPage $notebook->cur_page ()


Gtk::NotebookPage $notebook->cur_page ()


integer $notebook->current_page ()


integer $notebook->current_page ()


integer $notebook->get_current_page ()


integer $notebook->get_current_page ()


Gtk::Widget $notebook->get_menu_label ($child)


Gtk::Widget $notebook->get_menu_label ($child)

$child (Gtk::Widget)

Gtk::Widget $notebook->get_nth_page ($page_num)


Gtk::Widget $notebook->get_nth_page ($page_num)

$page_num (integer)

Gtk::Widget $notebook->get_tab_label ($child)


Gtk::Widget $notebook->get_tab_label ($child)

$child (Gtk::Widget)

$notebook->insert_page ($child, $tab_label, $position)


$notebook->insert_page ($child, $tab_label, $position)

$child (Gtk::Widget) may be undef
$tab_label (Gtk::Widget) may be undef
$position (integer)

$notebook->insert_page_menu ($child, $tab_label, $menu_label, $position)


$notebook->insert_page_menu ($child, $tab_label, $menu_label, $position)

$child (Gtk::Widget)
$tab_label (Gtk::Widget) may be undef
$menu_label (Gtk::Widget) may be undef
$position (integer)

Gtk::Notebook Gtk::Notebook->new ()


$notebook->next_page ()


$notebook->next_page ()


integer $notebook->page_num ($child)


integer $notebook->page_num ($child)

$child (Gtk::Widget)

$notebook->popup_disable ()


$notebook->popup_disable ()


$notebook->popup_enable ()


$notebook->popup_enable ()


$notebook->prepend_page ($child, $tab_label)


$notebook->prepend_page ($child, $tab_label)

$child (Gtk::Widget)
$tab_label (Gtk::Widget) may be undef

$notebook->prepend_page_menu ($child, $tab_label, $menu_label)


$notebook->prepend_page_menu ($child, $tab_label, $menu_label)

$child (Gtk::Widget)
$tab_label (Gtk::Widget) may be undef
$menu_label (Gtk::Widget) may be undef

$notebook->prev_page ()


$notebook->prev_page ()


list $notebook->query_tab_label_packing ($child)


list $notebook->query_tab_label_packing ($child)

$child (Gtk::Widget)

$notebook->remove_page ($page_num)


$notebook->remove_page ($page_num)

$page_num (integer)

$notebook->reorder_child ($child, $position)


$notebook->reorder_child ($child, $position)

$child (Gtk::Widget)
$position (integer)

$notebook->set_homogeneous_tabs ($homog)


$notebook->set_homogeneous_tabs ($homog)

$homog (boolean)

$notebook->set_menu_label ($child, $label)


$notebook->set_menu_label ($child, $label)

$child (Gtk::Widget)
$label (Gtk::Widget)

$notebook->set_menu_label_text ($child, $label)


$notebook->set_menu_label_text ($child, $label)

$child (Gtk::Widget)
$label (string)

$notebook->set_page ($page_num)


$notebook->set_page ($page_num)

$page_num (integer)

$notebook->set_scrollable ($scrollable)


$notebook->set_scrollable ($scrollable)

$scrollable (boolean)

$notebook->set_show_border ($show_border)


$notebook->set_show_border ($show_border)

$show_border (boolean)

$notebook->set_show_tabs ($show_tabs)


$notebook->set_show_tabs ($show_tabs)

$show_tabs (boolean)

$notebook->set_tab_border ($border)


$notebook->set_tab_border ($border)

$border (integer)

$notebook->set_tab_hborder ($border)


$notebook->set_tab_hborder ($border)

$border (integer)

$notebook->set_tab_label ($child, $label)


$notebook->set_tab_label ($child, $label)

$child (Gtk::Widget)
$label (Gtk::Widget)

$notebook->set_tab_label_packing ($child, $expand, $fill, $pack_type)


$notebook->set_tab_label_packing ($child, $expand, $fill, $pack_type)

$child (Gtk::Widget)
$expand (boolean)
$fill (boolean)
$pack_type (Gtk::PackType)

$notebook->set_tab_label_text ($child, $label)


$notebook->set_tab_label_text ($child, $label)

$child (Gtk::Widget)
$label (string)

$notebook->set_tab_pos ($pos)


$notebook->set_tab_pos ($pos)

$pos (Gtk::PositionType)

$notebook->set_tab_vborder ($border)


$notebook->set_tab_vborder ($border)

$border (integer)

Gtk::PositionType $notebook->tab_pos ()


Gtk::PositionType $notebook->tab_pos ()

Gtk::NotebookPage


Gtk::Widget $notebookpage->child ()


Gtk::Widget $notebookpage->child ()


integer $notebookpage->default_menu ()


integer $notebookpage->default_menu ()


integer $notebookpage->default_tab ()


integer $notebookpage->default_tab ()


Gtk::Widget $notebookpage->menu_label ()


Gtk::Widget $notebookpage->menu_label ()


Gtk::Widget $notebookpage->tab_label ()


Gtk::Widget $notebookpage->tab_label ()

Gtk::Object


integer $object->_class_size ()


integer $object->_class_size ()


Gtk::Object->_get_arg_info ($name)

$name (scalar)

Gtk::Object->_get_args ($parent)

$parent (integer)

Gtk::Object->_get_signal_info ($name)

$name (string)

Gtk::Object->_get_signals ($parent)

$parent (integer)

integer $object->_object_size ()


integer $object->_object_size ()


integer $object->_object_type ()


integer $object->_object_type ()


string Gtk::Object->_register ($perlname, $addr)


string Gtk::Object->_register ($perlname, $addr)

$perlname (string)
$addr (IV)

integer $object->_return_pointer ()


integer $object->_return_pointer ()


Gtk::Object->add_arg_type ($name, $type, $flags, $num)


Gtk::Object->add_arg_type ($name, $type, $flags, $num)

$name (scalar)
$type (string)
$flags (integer)
$num (integer)

Gtk::Object->add_signals (...)

... (list)

boolean $object->connected ()


boolean $object->connected ()


$object->destroy ()


$object->destroy ()


boolean $object->destroyed ()


boolean $object->destroyed ()


boolean $object->floating ()


boolean $object->floating ()


$object->get ($name, ...)


$object->get ($name, ...)

$name (scalar)
... (list)

scalar $object->get_user_data ()


scalar $object->get_user_data ()


scalar Gtk::Object->new (...)

... (list)

Gtk::Object $klass->new_from_pointer ($pointer)


Gtk::Object $klass->new_from_pointer ($pointer)

$pointer (integer)

string Gtk::Object->parent_type ()


$object->ref ()


$object->ref ()


integer $parentClass->register_subtype ($perlClass, ...)


integer $parentClass->register_subtype ($perlClass, ...)

$perlClass (scalar)
... (list)

$object->set ($name, $value, ...)


$object->set ($name, $value, ...)

$name (scalar)
$value (scalar)
... (list)

$object->set_user_data ($data)


$object->set_user_data ($data)

$data (scalar)

integer $object->signal_connect ($event, $handler, ...)


integer $object->signal_connect ($event, $handler, ...)

$event (string)
$handler (scalar)
... (list)

integer $object->signal_connect_after ($event, $handler, ...)


integer $object->signal_connect_after ($event, $handler, ...)

$event (scalar)
$handler (scalar)
... (list)

$object->signal_disconnect ($id)


$object->signal_disconnect ($id)

$id (integer)

$object->signal_emit ($name)


$object->signal_emit ($name)

$name (scalar)

$object->signal_emit_by_name ($name)


$object->signal_emit_by_name ($name)

$name (scalar)

$object->signal_emit_stop ($name)


$object->signal_emit_stop ($name)

$name (scalar)

$object->signal_emit_stop_by_name ($name)


$object->signal_emit_stop_by_name ($name)

$name (scalar)

$object->signal_handler_block ($handler_id)


$object->signal_handler_block ($handler_id)

$handler_id (integer)

integer $object->signal_handler_pending ($handler_id, $may_be_blocked)


integer $object->signal_handler_pending ($handler_id, $may_be_blocked)

$handler_id (integer)
$may_be_blocked (boolean)

integer $object->signal_handler_pending_by_id ($handler_id, $may_be_blocked)


integer $object->signal_handler_pending_by_id ($handler_id, $may_be_blocked)

$handler_id (integer)
$may_be_blocked (boolean)

$object->signal_handler_unblock ($handler_id)


$object->signal_handler_unblock ($handler_id)

$handler_id (integer)

$object->signal_handlers_destroy ()


$object->signal_handlers_destroy ()


string $object->type_name ()


string $object->type_name ()


$object->unref ()


$object->unref ()

Gtk::OptionMenu


Gtk::Menu $optionmenu->get_menu ()


Gtk::Menu $optionmenu->get_menu ()


Gtk::OptionMenu Gtk::OptionMenu->new ()


$optionmenu->remove_menu ()


$optionmenu->remove_menu ()


$optionmenu->set_history ($index)


$optionmenu->set_history ($index)

$index (integer)

$optionmenu->set_menu ($menu)


$optionmenu->set_menu ($menu)

$menu (Gtk::Menu)

Gtk::Packer


$packer->add ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)


$packer->add ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)

$child (Gtk::Widget)
$side (Gtk::SideType)
$anchor (Gtk::AnchorType)
$options (Gtk::PackerOptions)
$border_width (integer)
$pad_x (integer)
$pad_y (integer)
$ipad_x (integer)
$ipad_y (integer)

$packer->add_defaults ($child, $side, $anchor, $options)


$packer->add_defaults ($child, $side, $anchor, $options)

$child (Gtk::Widget)
$side (Gtk::SideType)
$anchor (Gtk::AnchorType)
$options (Gtk::PackerOptions)

$packer->children ()


$packer->children ()


$packer->configure ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)


$packer->configure ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)

$child (Gtk::Widget)
$side (Gtk::SideType)
$anchor (Gtk::AnchorType)
$options (Gtk::PackerOptions)
$border_width (integer)
$pad_x (integer)
$pad_y (integer)
$ipad_x (integer)
$ipad_y (integer)

Gtk::Packer Gtk::Packer->new ()


$packer->reorder_child ($child,$position)


$packer->reorder_child ($child,$position)

$child (Gtk::Widget)
$position (integer)

$packer->set_child_packing ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)


$packer->set_child_packing ($child, $side, $anchor, $options, $border_width, $pad_x, $pad_y, $ipad_x, $ipad_y)

$child (scalar)
$side (scalar)
$anchor (scalar)
$options (scalar)
$border_width (scalar)
$pad_x (scalar)
$pad_y (scalar)
$ipad_x (scalar)
$ipad_y (scalar)

$packer->set_default_border_width ($border)


$packer->set_default_border_width ($border)

$border (integer)

$packer->set_default_ipad ($ipad_x, $ipad_y)


$packer->set_default_ipad ($ipad_x, $ipad_y)

$ipad_x (integer)
$ipad_y (integer)

$packer->set_default_pad ($pad_x, $pad_y)


$packer->set_default_pad ($pad_x, $pad_y)

$pad_x (integer)
$pad_y (integer)

$packer->set_spacing ($spacing)


$packer->set_spacing ($spacing)

$spacing (integer)

Gtk::PackerChild


Gtk::AnchorType $packerchild->anchor ()


Gtk::AnchorType $packerchild->anchor ()


integer $packerchild->border_width ()


integer $packerchild->border_width ()


integer $packerchild->ipad_x ()


integer $packerchild->ipad_x ()


integer $packerchild->ipad_y ()


integer $packerchild->ipad_y ()


Gtk::PackerOptions $packerchild->options ()


Gtk::PackerOptions $packerchild->options ()


integer $packerchild->pad_x ()


integer $packerchild->pad_x ()


integer $packerchild->pad_y ()


integer $packerchild->pad_y ()


Gtk::SideType $packerchild->side ()


Gtk::SideType $packerchild->side ()


integer $packerchild->use_default ()


integer $packerchild->use_default ()


Gtk::Widget $packerchild->widget ()


Gtk::Widget $packerchild->widget ()

Gtk::Paned


$paned->add1 ($child)


$paned->add1 ($child)

$child (Gtk::Widget)

$paned->add2 ($child)


$paned->add2 ($child)

$child (scalar)

$paned->gutter_size ($size)


$paned->gutter_size ($size)

$size (integer)

$paned->handle_size ($size)


$paned->handle_size ($size)

$size (integer)

$paned->pack1 ($child, $resize, $shrink)


$paned->pack1 ($child, $resize, $shrink)

$child (Gtk::Widget)
$resize (boolean)
$shrink (boolean)

$paned->pack2 ($child, $resize, $shrink)


$paned->pack2 ($child, $resize, $shrink)

$child (scalar)
$resize (scalar)
$shrink (scalar)

$paned->set_gutter_size ($size)


$paned->set_gutter_size ($size)

$size (scalar)

$paned->set_handle_size ($size)


$paned->set_handle_size ($size)

$size (scalar)

$paned->set_position ($position)


$paned->set_position ($position)

$position (integer)

Gtk::Pixmap


$pixmap->get ()


$pixmap->get ()


Gtk::Pixmap Gtk::Pixmap->new ($pixmap, $mask)


Gtk::Pixmap Gtk::Pixmap->new ($pixmap, $mask)

$pixmap (Gtk::Gdk::Pixmap)
$mask (Gtk::Gdk::Bitmap) may be undef

$pixmap->set ($val, $mask )


$pixmap->set ($val, $mask )

$val (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef

$pixmap->set_build_insensitive ($build)


$pixmap->set_build_insensitive ($build)

$build (integer)

Gtk::Plug


Gtk::Plug Gtk::Plug->new ($socket_id)

$socket_id (integer)

integer $plug->same_app ()


integer $plug->same_app ()


Gtk::Gdk::Window $plug->socket_window ()


Gtk::Gdk::Window $plug->socket_window ()

Gtk::Preview


$preview->draw_row ($data, $x, $y, $w)


$preview->draw_row ($data, $x, $y, $w)

$data (string)
$x (integer)
$y (integer)
$w (integer)

Gtk::Gdk::Colormap Gtk::Preview->get_cmap ()


Gtk::Gdk::Visual Gtk::Preview->get_visual ()


Gtk::Preview Gtk::Preview->new ($type)

$type (Gtk::PreviewType)

$preview->put ($window, $gc, $srcx, $srcy, $destx, $desty, $width, $height)


$preview->put ($window, $gc, $srcx, $srcy, $destx, $desty, $width, $height)

$window (Gtk::Gdk::Window)
$gc (Gtk::Gdk::GC)
$srcx (integer)
$srcy (integer)
$destx (integer)
$desty (integer)
$width (integer)
$height (integer)

Gtk::Preview->set_color_cube ($nred_shades, $ngreen_shades, $nblue_shades, $ngray_shades)


Gtk::Preview->set_color_cube ($nred_shades, $ngreen_shades, $nblue_shades, $ngray_shades)

$nred_shades (integer)
$ngreen_shades (integer)
$nblue_shades (integer)
$ngray_shades (integer)

$preview->set_expand ($expand)


$preview->set_expand ($expand)

$expand (integer)

Gtk::Preview->set_gamma ($gamma)

$gamma (double)

Gtk::Preview->set_install_cmap ($install_cmap)

$install_cmap (integer)

Gtk::Preview->set_reserved ($reserved)

$reserved (integer)

$preview->size ($width, $height)


$preview->size ($width, $height)

$width (integer)
$height (integer)

Gtk::Progress


$progress->configure ($value, $min, $max)


$progress->configure ($value, $min, $max)

$value (float)
$min (float)
$max (float)

float $progress->get_current_percentage ()


float $progress->get_current_percentage ()


string $progress->get_current_text ()


string $progress->get_current_text ()


$progress->get_percentage_from_value ($value)


$progress->get_percentage_from_value ($value)

$value (float)

string $progress->get_text_from_value ($value)


string $progress->get_text_from_value ($value)

$value (float)

float $progress->get_value ()


float $progress->get_value ()


$progress->reconfigure ($value, $min, $max)


$progress->reconfigure ($value, $min, $max)

$value (scalar)
$min (scalar)
$max (scalar)

$progress->set_activity_mode ($activity_mode)


$progress->set_activity_mode ($activity_mode)

$activity_mode (integer)

$progress->set_adjustment ($adjustment)


$progress->set_adjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$progress->set_format_string ($format)


$progress->set_format_string ($format)

$format (string)

$progress->set_percentage ($percentage)


$progress->set_percentage ($percentage)

$percentage (float)

$progress->set_show_text ($show_text)


$progress->set_show_text ($show_text)

$show_text (integer)

$progress->set_text_alignment ($x_align, $y_align)


$progress->set_text_alignment ($x_align, $y_align)

$x_align (float)
$y_align (float)

$progress->set_value ($value)


$progress->set_value ($value)

$value (float)

Gtk::ProgressBar


Gtk::ProgressBar Gtk::ProgressBar->new ()


Gtk::ProgressBar Gtk::ProgressBar->new_with_adjustment ($adjustment)

$adjustment (Gtk::Adjustment)

double $progressbar->percentage ()


double $progressbar->percentage ()


$progressbar->set_activity_blocks ($blocks)


$progressbar->set_activity_blocks ($blocks)

$blocks (integer)

$progressbar->set_activity_step ($step)


$progressbar->set_activity_step ($step)

$step (integer)

$progressbar->set_bar_style ($style)


$progressbar->set_bar_style ($style)

$style (Gtk::ProgressBarStyle)

$progressbar->set_discrete_blocks ($blocks)


$progressbar->set_discrete_blocks ($blocks)

$blocks (integer)

$progressbar->set_orientation ($orientation)


$progressbar->set_orientation ($orientation)

$orientation (Gtk::ProgressBarOrientation)

$progressbar->update ($percentage)


$progressbar->update ($percentage)

$percentage (double)

Gtk::RadioButton


$radiobutton->group ()


$radiobutton->group ()


Gtk::RadioButton Gtk::RadioButton->new ($label, $previous)


Gtk::RadioButton Gtk::RadioButton->new ($label, $previous)

$label (scalar)
$previous (Gtk::RadioButton)

Gtk::RadioButton Gtk::RadioButton->new_from_widget ($group)

$group (Gtk::RadioButton)

Gtk::RadioButton Gtk::RadioButton->new_with_label ($label, $previous)


Gtk::RadioButton Gtk::RadioButton->new_with_label ($label, $previous)

$label (scalar)
$previous (scalar)

Gtk::RadioButton Gtk::RadioButton->new_with_label_from_widget ($group, $label)


Gtk::RadioButton Gtk::RadioButton->new_with_label_from_widget ($group, $label)

$group (Gtk::RadioButton)
$label (string)

$radio_button->set_group ($other_button)


$radio_button->set_group ($other_button)

$other_button (Gtk::RadioButton)

Gtk::RadioMenuItem


$radiomenuitem->group ()


$radiomenuitem->group ()


Gtk::RadioMenuItem Gtk::RadioMenuItem->new ($label, $previous)


Gtk::RadioMenuItem Gtk::RadioMenuItem->new ($label, $previous)

$label (scalar)
$previous (Gtk::RadioMenuItem) may be undef

Gtk::RadioMenuItem Gtk::RadioMenuItem->new_with_label ($label, $previous)


Gtk::RadioMenuItem Gtk::RadioMenuItem->new_with_label ($label, $previous)

$label (scalar)
$previous (scalar)

Gtk::Range


$range->clear_background ()


$range->clear_background ()


$range->default_hmotion ($xdelta, $ydelta)


$range->default_hmotion ($xdelta, $ydelta)

$xdelta (integer)
$ydelta (integer)

$range->default_hslider_update ()


$range->default_hslider_update ()


$range->default_htrough_click ($x, $y, $jump_perc)


$range->default_htrough_click ($x, $y, $jump_perc)

$x (integer)
$y (integer)
$jump_perc (gfloat&)

$range->default_vmotion ($xdelta, $ydelta)


$range->default_vmotion ($xdelta, $ydelta)

$xdelta (integer)
$ydelta (integer)

$range->default_vslider_update ()


$range->default_vslider_update ()


$range->default_vtrough_click ($x, $y, $jump_perc)


$range->default_vtrough_click ($x, $y, $jump_perc)

$x (integer)
$y (integer)
$jump_perc (gfloat&)

$range->draw_background ()


$range->draw_background ()


$range->draw_slider ()


$range->draw_slider ()


$range->draw_step_back ()


$range->draw_step_back ()


$range->draw_step_forw ()


$range->draw_step_forw ()


$range->draw_trough ()


$range->draw_trough ()


Gtk::Adjustment $range->get_adjustment ()


Gtk::Adjustment $range->get_adjustment ()


$range->set_adjustment ($adjustment)


$range->set_adjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$range->set_update_policy ($policy)


$range->set_update_policy ($policy)

$policy (Gtk::UpdateType)

$range->slider_update ()


$range->slider_update ()


$range->trough_click ($x, $y, $jump_perc)


$range->trough_click ($x, $y, $jump_perc)

$x (integer)
$y (integer)
$jump_perc (gfloat&)

Gtk::Rc


Gtk::Rc->add_default_file ($file)

$file (string)

Add file as a default resource file to read.

list Gtk::Rc->get_default_files ()

Get a list of the default resource files.

string Gtk::Rc->get_module_dir ()


Gtk::Style Gtk::Rc->get_style ($widget)

$widget (Gtk::Widget)

Get the style of widget.

string Gtk::Rc->get_theme_dir ()


Gtk::Rc->parse ($filename)

$filename (string)

Parse filename for style and resource information.

Gtk::Rc->parse_string ($data)

$data (string)

Parse the string data for style and resource information.

boolean Gtk::Rc->reparse_all ()

Parse again all the resource files loaded by the application and apply the changes, if any. The files are not reloaded if they haven't changed.

Gtk::Rc->set_default_files ($file,...)

$file (string)
... (list)

Add file and any additional filename as default resource file sto read.

Gtk::RcStyle


$rc_style->modify_bg_pixmap ($state, $pixmap_file)


$rc_style->modify_bg_pixmap ($state, $pixmap_file)

$state (Gtk::StateType)
$pixmap_file (string)

$rc_style->modify_color ($component, $state, $color)


$rc_style->modify_color ($component, $state, $color)

$component (Gtk::RcFlags)
$state (Gtk::StateType)
$color (Gtk::Gdk::Color)

$rc_style->modify_font ($font_name)


$rc_style->modify_font ($font_name)

$font_name (string)

$rc_style->modify_fontset ($font_name)


$rc_style->modify_fontset ($font_name)

$font_name (scalar)

Gtk::RcStyle Gtk::RcStyle->new ()

Gtk::Ruler


$ruler->draw_pos ()


$ruler->draw_pos ()


$ruler->draw_ticks ()


$ruler->draw_ticks ()


$ruler->set_metric ($metric)


$ruler->set_metric ($metric)

$metric (Gtk::MetricType)

$ruler->set_range ($lower, $upper, $position, $max_size)


$ruler->set_range ($lower, $upper, $position, $max_size)

$lower (double)
$upper (double)
$position (double)
$max_size (double)

Gtk::Scale


$scale->draw_value ()


$scale->draw_value ()


integer $scale->get_value_width ()


integer $scale->get_value_width ()


$scale->set_digits ($digits)


$scale->set_digits ($digits)

$digits (integer)

$scale->set_draw_value ($draw_value)


$scale->set_draw_value ($draw_value)

$draw_value (integer)

$scale->set_value_pos ($pos)


$scale->set_value_pos ($pos)

$pos (Gtk::PositionType)

integer $scale->value_width ()


integer $scale->value_width ()

Gtk::ScrolledWindow


scalar $scrolled_window->add_with_viewport ($widget)


scalar $scrolled_window->add_with_viewport ($widget)

$widget (Gtk::Widget)

Gtk::Adjustment $scrolled_window->get_hadjustment ()


Gtk::Adjustment $scrolled_window->get_hadjustment ()


Gtk::Adjustment $scrolled_window->get_vadjustment ()


Gtk::Adjustment $scrolled_window->get_vadjustment ()


Gtk::Widget $scrolled_window->hscrollbar ()


Gtk::Widget $scrolled_window->hscrollbar ()


Gtk::ScrolledWindow Gtk::ScrolledWindow->new ($hadj, $vadj)


Gtk::ScrolledWindow Gtk::ScrolledWindow->new ($hadj, $vadj)

$hadj (Gtk::Adjustment) may be undef
$vadj (Gtk::Adjustment) may be undef

$scrolled_window->set_hadjustment ($adj)


$scrolled_window->set_hadjustment ($adj)

$adj (Gtk::Adjustment)

$scrolled_window->set_placement ($window_placement)


$scrolled_window->set_placement ($window_placement)

$window_placement (Gtk::CornerType)

$scrolled_window->set_policy ($hscrollbar_policy, $vscrollbar_policy)


$scrolled_window->set_policy ($hscrollbar_policy, $vscrollbar_policy)

$hscrollbar_policy (Gtk::PolicyType)
$vscrollbar_policy (Gtk::PolicyType)

$scrolled_window->set_vadjustment ($adj)


$scrolled_window->set_vadjustment ($adj)

$adj (Gtk::Adjustment)

Gtk::Widget $scrolled_window->vscrollbar ()


Gtk::Widget $scrolled_window->vscrollbar ()

Gtk::SelectionData


scalar $selectiondata->data ()


scalar $selectiondata->data ()

Get the data in the selection.

integer $selectiondata->format ()


integer $selectiondata->format ()

Get the format of the data (8, 16 or 32 bit data).

integer $selectiondata->length ()


integer $selectiondata->length ()

Get the length of the data in the selection.

Gtk::Gdk::Atom $selectiondata->selection ()


Gtk::Gdk::Atom $selectiondata->selection ()

Get a Gtk::Gdk:Atom describing the selection.

$selectiondata->set ($type, $format, $data)


$selectiondata->set ($type, $format, $data)

$type (Gtk::Gdk::Atom)
$format (integer) 8, 16 or 32 bit data
$data (scalar) the data to set in the selection

Set the data in the selection.

Gtk::Gdk::Atom $selectiondata->target ()


Gtk::Gdk::Atom $selectiondata->target ()

Get a Gtk::Gdk:Atom describing the target type of the data of the selection.

Gtk::Gdk::Atom $selectiondata->type ()


Gtk::Gdk::Atom $selectiondata->type ()

Get a Gtk::Gdk:Atom describing the type of data of the selection.

Gtk::Socket


Gtk::Socket Gtk::Socket->new ()


Gtk::Gdk::Window $socket->plug_window ()


Gtk::Gdk::Window $socket->plug_window ()


integer $socket->same_app ()


integer $socket->same_app ()


$socket->steal ($wid)


$socket->steal ($wid)

$wid (integer)

Gtk::SpinButton


$spin_button->configure ($adj, $climb_rate, $digits)


$spin_button->configure ($adj, $climb_rate, $digits)

$adj (Gtk::Adjustment)
$climb_rate (double)
$digits (integer)

integer $spinbutton->digits ()


integer $spinbutton->digits ()


Gtk::Adjustment $spinbutton->get_adjustment ()


Gtk::Adjustment $spinbutton->get_adjustment ()


double $spinbutton->get_value_as_float ()


double $spinbutton->get_value_as_float ()


integer $spinbutton->get_value_as_int ()


integer $spinbutton->get_value_as_int ()


Gtk::SpinButton Gtk::SpinButton->new ($adjustment, $climb_rate, $digits)


Gtk::SpinButton Gtk::SpinButton->new ($adjustment, $climb_rate, $digits)

$adjustment (Gtk::Adjustment)
$climb_rate (double)
$digits (integer)

$spinbutton->set_adjustment ($adjustment)


$spinbutton->set_adjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$spinbutton->set_digits ($digits)


$spinbutton->set_digits ($digits)

$digits (integer)

$spinbutton->set_numeric ($numeric)


$spinbutton->set_numeric ($numeric)

$numeric (integer)

$spin_button->set_shadow_type ($type)


$spin_button->set_shadow_type ($type)

$type (Gtk::ShadowType)

$spinbutton->set_snap_to_ticks ($snap_to_ticks)


$spinbutton->set_snap_to_ticks ($snap_to_ticks)

$snap_to_ticks (integer)

$spinbutton->set_update_policy ($policy)


$spinbutton->set_update_policy ($policy)

$policy (Gtk::SpinButtonUpdatePolicy)

$spinbutton->set_value ($value)


$spinbutton->set_value ($value)

$value (float)

$spinbutton->set_wrap ($wrap)


$spinbutton->set_wrap ($wrap)

$wrap (integer)

$spinbutton->spin ($direction, $step)


$spinbutton->spin ($direction, $step)

$direction (Gtk::ArrowType)
$step (float)

$spin_button->update ()


$spin_button->update ()

Gtk::Statusbar


Gtk::Widget $statusbar->frame ()


Gtk::Widget $statusbar->frame ()


integer $statusbar->get_context_id ($context_description)


integer $statusbar->get_context_id ($context_description)

$context_description (string)

Gtk::Widget $statusbar->label ()


Gtk::Widget $statusbar->label ()


$statusbar->messages ()


$statusbar->messages ()


Gtk::Statusbar Gtk::Statusbar->new ()


$statusbar->pop ($context_id)


$statusbar->pop ($context_id)

$context_id (integer)

integer $statusbar->push ($context_id, $text)


integer $statusbar->push ($context_id, $text)

$context_id (integer)
$text (string)

$statusbar->remove ($context_id, $message_id)


$statusbar->remove ($context_id, $message_id)

$context_id (integer)
$message_id (integer)

Gtk::Style


Gtk::Style $style->attach ($window)


Gtk::Style $style->attach ($window)

$window (Gtk::Gdk::Window)

Gtk::Gdk::Color $style->base ($state, $new_color)


Gtk::Gdk::Color $style->base ($state, $new_color)

$state (Gtk::StateType)
$new_color (Gtk::Gdk::Color)

Gtk::Gdk::GC $style->base_gc ($state, $new_gc)


Gtk::Gdk::GC $style->base_gc ($state, $new_gc)

$state (Gtk::StateType)
$new_gc (Gtk::Gdk::GC)

Gtk::Gdk::Color $style->bg ($state, $new_color)


Gtk::Gdk::Color $style->bg ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->bg_gc ($state, $new_gc)


Gtk::Gdk::GC $style->bg_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

Gtk::Gdk::Pixmap $style->bg_pixmap ($state, $new_pixmap)


Gtk::Gdk::Pixmap $style->bg_pixmap ($state, $new_pixmap)

$state (Gtk::StateType)
$new_pixmap (Gtk::Gdk::Pixmap)

Gtk::Gdk::Color $style->black ($new_color)


Gtk::Gdk::Color $style->black ($new_color)

$new_color (Gtk::Gdk::Color)

Gtk::Gdk::GC $style->black_gc ($new_gc)


Gtk::Gdk::GC $style->black_gc ($new_gc)

$new_gc (Gtk::Gdk::GC)

Gtk::Gdk::Colormap $style->colormap ($new_colormap)


Gtk::Gdk::Colormap $style->colormap ($new_colormap)

$new_colormap (Gtk::Gdk::Colormap)

Gtk::Style $style->copy ()


Gtk::Style $style->copy ()


Gtk::Gdk::Color $style->dark ($state, $new_color)


Gtk::Gdk::Color $style->dark ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->dark_gc ($state, $new_gc)


Gtk::Gdk::GC $style->dark_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

integer $style->depth ($new_depth)


integer $style->depth ($new_depth)

$new_depth (integer)

$style->detach ()


$style->detach ()


$style->draw_arrow ($window, $state_type, $shadow_type, $arrow_type, $fill, $x, $y, $width, $height)


$style->draw_arrow ($window, $state_type, $shadow_type, $arrow_type, $fill, $x, $y, $width, $height)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$shadow_type (Gtk::ShadowType)
$arrow_type (Gtk::ArrowType)
$fill (boolean)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

$style->draw_diamond ($window, $state_type, $shadow_type, $x, $y, $width, $height)


$style->draw_diamond ($window, $state_type, $shadow_type, $x, $y, $width, $height)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$shadow_type (Gtk::ShadowType)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

$style->draw_hline ($window, $state_type, $x1, $x2, $y)


$style->draw_hline ($window, $state_type, $x1, $x2, $y)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$x1 (integer)
$x2 (integer)
$y (integer)

$style->draw_oval ($window, $state_type, $shadow_type, $x, $y, $width, $height)


$style->draw_oval ($window, $state_type, $shadow_type, $x, $y, $width, $height)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$shadow_type (Gtk::ShadowType)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

$style->draw_polygon ($window, $state_type, $shadow_type, $fill, $x, $y, ...)


$style->draw_polygon ($window, $state_type, $shadow_type, $fill, $x, $y, ...)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$shadow_type (Gtk::ShadowType)
$fill (boolean)
$x (integer)
$y (integer)
... (list)

$style->draw_shadow ($window, $state_type, $shadow_type, $x, $y, $width, $height)


$style->draw_shadow ($window, $state_type, $shadow_type, $x, $y, $width, $height)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$shadow_type (Gtk::ShadowType)
$x (integer)
$y (integer)
$width (integer)
$height (integer)

$style->draw_string ($window, $state_type, $x, $y, $string)


$style->draw_string ($window, $state_type, $x, $y, $string)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$x (integer)
$y (integer)
$string (string)

$style->draw_vline ($window, $state_type, $y1, $y2, $x)


$style->draw_vline ($window, $state_type, $y1, $y2, $x)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)
$y1 (integer)
$y2 (integer)
$x (integer)

Gtk::Gdk::Color $style->fg ($state, $new_color)


Gtk::Gdk::Color $style->fg ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->fg_gc ($state, $new_gc)


Gtk::Gdk::GC $style->fg_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

Gtk::Gdk::Font $style->font ($new_font)


Gtk::Gdk::Font $style->font ($new_font)

$new_font (Gtk::Gdk::Font)

Gtk::Gdk::Color $style->light ($state, $new_color)


Gtk::Gdk::Color $style->light ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->light_gc ($state, $new_gc)


Gtk::Gdk::GC $style->light_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

Gtk::Gdk::Color $style->mid ($state, $new_color)


Gtk::Gdk::Color $style->mid ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->mid_gc ($state, $new_gc)


Gtk::Gdk::GC $style->mid_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

Gtk::Style Gtk::Style->new ()


$style->ref ()


$style->ref ()


$style->set_background ($window, $state_type)


$style->set_background ($window, $state_type)

$window (Gtk::Gdk::Window)
$state_type (Gtk::StateType)

Gtk::Gdk::Color $style->text ($state, $new_color)


Gtk::Gdk::Color $style->text ($state, $new_color)

$state (scalar)
$new_color (scalar)

Gtk::Gdk::GC $style->text_gc ($state, $new_gc)


Gtk::Gdk::GC $style->text_gc ($state, $new_gc)

$state (scalar)
$new_gc (scalar)

$style->unref ()


$style->unref ()


Gtk::Gdk::Color $style->white ($new_color)


Gtk::Gdk::Color $style->white ($new_color)

$new_color (scalar)

Gtk::Gdk::GC $style->white_gc ($new_gc)


Gtk::Gdk::GC $style->white_gc ($new_gc)

$new_gc (scalar)

Gtk::Table


$table->attach ($child, $left_attach, $right_attach, $top_attach, $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)


$table->attach ($child, $left_attach, $right_attach, $top_attach, $bottom_attach, $xoptions, $yoptions, $xpadding, $ypadding)

$child (Gtk::Widget)
$left_attach (integer)
$right_attach (integer)
$top_attach (integer)
$bottom_attach (integer)
$xoptions (Gtk::AttachOptions)
$yoptions (Gtk::AttachOptions)
$xpadding (integer)
$ypadding (integer)

$table->attach_defaults ($child, $left_attach, $right_attach, $top_attach, $bottom_attach)


$table->attach_defaults ($child, $left_attach, $right_attach, $top_attach, $bottom_attach)

$child (Gtk::Widget)
$left_attach (integer)
$right_attach (integer)
$top_attach (integer)
$bottom_attach (integer)

Gtk::Table Gtk::Table->new ($rows, $cols, $homogeneous)


Gtk::Table Gtk::Table->new ($rows, $cols, $homogeneous)

$rows (integer)
$cols (integer)
$homogeneous (integer)

$table->resize ($rows, $columns)


$table->resize ($rows, $columns)

$rows (integer)
$columns (integer)

$table->set_col_spacing ($col, $spacing)


$table->set_col_spacing ($col, $spacing)

$col (integer)
$spacing (integer)

$table->set_col_spacings ($spacing)


$table->set_col_spacings ($spacing)

$spacing (integer)

$table->set_homogeneous ($homogeneous)


$table->set_homogeneous ($homogeneous)

$homogeneous (integer)

$table->set_row_spacing ($row, $spacing)


$table->set_row_spacing ($row, $spacing)

$row (integer)
$spacing (integer)

$table->set_row_spacings ($spacing)


$table->set_row_spacings ($spacing)

$spacing (integer)

Gtk::TargetList


$target_list->add ($target, $flags, $info)


$target_list->add ($target, $flags, $info)

$target (Gtk::Gdk::Atom)
$flags (integer)
$info (integer)

$target_list->add_table (...)


$target_list->add_table (...)

... (list)

$target_list->find ($target)


$target_list->find ($target)

$target (Gtk::Gdk::Atom)

Gtk::TargetList Gtk::TargetList->new (...)

... (list)

$target_list->ref ()


$target_list->ref ()


$target_list->remove ($target)


$target_list->remove ($target)

$target (Gtk::Gdk::Atom)

$target_list->unref ()


$target_list->unref ()

Gtk::TearoffMenuItem


Gtk::TearoffMenuItem Gtk::TearoffMenuItem->new ()

Gtk::Text


$text->backward_delete ($nchars)


$text->backward_delete ($nchars)

$nchars (integer)

$text->forward_delete ($nchars)


$text->forward_delete ($nchars)

$nchars (integer)

$text->freeze ()


$text->freeze ()


integer $text->get_length ()


integer $text->get_length ()


integer $text->get_point ()


integer $text->get_point ()


Gtk::Adjustment $text->hadj ()


Gtk::Adjustment $text->hadj ()


$text->insert ($font, $fg, $bg, $string)


$text->insert ($font, $fg, $bg, $string)

$font (Gtk::Gdk::Font) may be undef
$fg (Gtk::Gdk::Color) may be undef
$bg (Gtk::Gdk::Color) may be undef
$string (scalar)

Gtk::Text Gtk::Text->new ($hadjustment, $vadjustment)


Gtk::Text Gtk::Text->new ($hadjustment, $vadjustment)

$hadjustment (Gtk::Adjustment) may be undef
$vadjustment (Gtk::Adjustment) may be undef

$text->set_adjustments ($hadjustment, $vadjustment)


$text->set_adjustments ($hadjustment, $vadjustment)

$hadjustment (Gtk::Adjustment)
$vadjustment (Gtk::Adjustment)

$text->set_editable ($editable)


$text->set_editable ($editable)

$editable (integer)

$text->set_line_wrap ($line_wrap)


$text->set_line_wrap ($line_wrap)

$line_wrap (integer)

$text->set_point ($index)


$text->set_point ($index)

$index (integer)

$text->set_word_wrap ($word_wrap)


$text->set_word_wrap ($word_wrap)

$word_wrap (integer)

$text->thaw ()


$text->thaw ()


Gtk::Adjustment $text->vadj ()


Gtk::Adjustment $text->vadj ()

Gtk::TipsQuery


Gtk::TipsQuery Gtk::TipsQuery->new ()


$tips_query->set_caller ($caller)


$tips_query->set_caller ($caller)

$caller (Gtk::Widget)

$tips_query->set_labels ($label_inactive, $label_no_tip)


$tips_query->set_labels ($label_inactive, $label_no_tip)

$label_inactive (string)
$label_no_tip (string)

$tips_query->start_query ()


$tips_query->start_query ()


$tips_query->stop_query ()


$tips_query->stop_query ()

Gtk::ToggleButton


integer $toggle_button->active ($new_value)


integer $toggle_button->active ($new_value)

$new_value (integer)

integer $toggle_button->draw_indicator ()


integer $toggle_button->draw_indicator ()


boolean $toggle_button->get_active ()


boolean $toggle_button->get_active ()


Gtk::ToggleButton Gtk::ToggleButton->new ($label)

$label (string)

Gtk::ToggleButton Gtk::ToggleButton->new_with_label ($label)

$label (scalar)

$toggle_button->set_active ($state)


$toggle_button->set_active ($state)

$state (integer)

$toggle_button->set_mode ($draw_indicator)


$toggle_button->set_mode ($draw_indicator)

$draw_indicator (integer)

$toggle_button->set_state ($state)


$toggle_button->set_state ($state)

$state (scalar)

$toggle_button->toggled ()


$toggle_button->toggled ()

Gtk::Toolbar


Gtk::Widget $toolbar->append_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon)


Gtk::Widget $toolbar->append_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon)

$type (Gtk::ToolbarChildType)
$widget (Gtk::Widget) may be undef
$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef

Gtk::Widget $toolbar->append_item ($text, $tooltip_text, $tooltip_private_text, $icon)


Gtk::Widget $toolbar->append_item ($text, $tooltip_text, $tooltip_private_text, $icon)

$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef

$toolbar->append_space ()


$toolbar->append_space ()


$toolbar->append_widget ($widget, $tooltip_text, $tooltip_private_text)


$toolbar->append_widget ($widget, $tooltip_text, $tooltip_private_text)

$widget (Gtk::Widget) may be undef
$tooltip_text (string)
$tooltip_private_text (string)

Gtk::ReliefStyle $toolbar->get_button_relief ()


Gtk::ReliefStyle $toolbar->get_button_relief ()


Gtk::Widget $toolbar->insert_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon, $position)


Gtk::Widget $toolbar->insert_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon, $position)

$type (Gtk::ToolbarChildType)
$widget (Gtk::Widget) may be undef
$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef
$position (integer)

Gtk::Widget $toolbar->insert_item ($text, $tooltip_text, $tooltip_private_text, $icon, $position)


Gtk::Widget $toolbar->insert_item ($text, $tooltip_text, $tooltip_private_text, $icon, $position)

$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef
$position (integer)

$toolbar->insert_space ($position)


$toolbar->insert_space ($position)

$position (integer)

$toolbar->insert_widget ($widget, $tooltip_text, $tooltip_private_text, $position)


$toolbar->insert_widget ($widget, $tooltip_text, $tooltip_private_text, $position)

$widget (Gtk::Widget) may be undef
$tooltip_text (string)
$tooltip_private_text (string)
$position (integer)

Gtk::Toolbar Gtk::Toolbar->new ($orientation, $style)


Gtk::Toolbar Gtk::Toolbar->new ($orientation, $style)

$orientation (Gtk::Orientation)
$style (Gtk::ToolbarStyle)

Gtk::Widget $toolbar->prepend_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon)


Gtk::Widget $toolbar->prepend_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon)

$type (Gtk::ToolbarChildType)
$widget (Gtk::Widget) may be undef
$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef

Gtk::Widget $toolbar->prepend_item ($text, $tooltip_text, $tooltip_private_text, $icon)


Gtk::Widget $toolbar->prepend_item ($text, $tooltip_text, $tooltip_private_text, $icon)

$text (string)
$tooltip_text (string)
$tooltip_private_text (string)
$icon (Gtk::Widget) may be undef

$toolbar->prepend_space ()


$toolbar->prepend_space ()


$toolbar->prepend_widget ($widget, $tooltip_text, $tooltip_private_text)


$toolbar->prepend_widget ($widget, $tooltip_text, $tooltip_private_text)

$widget (Gtk::Widget) may be undef
$tooltip_text (string)
$tooltip_private_text (string)

$toolbar->set_button_relief ($relief)


$toolbar->set_button_relief ($relief)

$relief (Gtk::ReliefStyle)

$toolbar->set_orientation ($orientation)


$toolbar->set_orientation ($orientation)

$orientation (Gtk::Orientation)

$toolbar->set_space_size ($space_size)


$toolbar->set_space_size ($space_size)

$space_size (integer)

$toolbar->set_space_style ($space_style)


$toolbar->set_space_style ($space_style)

$space_style (Gtk::ToolbarSpaceStyle)

$toolbar->set_style ($style)


$toolbar->set_style ($style)

$style (Gtk::ToolbarStyle)

$toolbar->set_tooltips ($enable)


$toolbar->set_tooltips ($enable)

$enable (boolean)

Gtk::Tooltips


$tooltips->disable ()


$tooltips->disable ()


$tooltips->enable ()


$tooltips->enable ()


$tooltips->force_window ()


$tooltips->force_window ()


Gtk::Tooltips Gtk::Tooltips->new ()


$tooltips->set_colors ($background, $foreground)


$tooltips->set_colors ($background, $foreground)

$background (Gtk::Gdk::Color)
$foreground (Gtk::Gdk::Color)

$tooltips->set_delay ($delay)


$tooltips->set_delay ($delay)

$delay (integer)

$tooltips->set_tip ($widget, $tip_text, $tip_private)


$tooltips->set_tip ($widget, $tip_text, $tip_private)

$widget (Gtk::Widget)
$tip_text (string)
$tip_private (string)

Gtk::Tree


$tree->append ($child)


$tree->append ($child)

$child (Gtk::Widget)

integer $tree->child_position ($child)


integer $tree->child_position ($child)

$child (Gtk::Widget)

$tree->clear_items ($start, $end)


$tree->clear_items ($start, $end)

$start (integer)
$end (integer)

$tree->insert ($child, $position)


$tree->insert ($child, $position)

$child (Gtk::Widget)
$position (integer)

Gtk::Tree Gtk::Tree->new ()


$tree->prepend ($child)


$tree->prepend ($child)

$child (scalar)

$tree->remove_item ($child)


$tree->remove_item ($child)

$child (scalar)

$tree->remove_items (...)


$tree->remove_items (...)

... (list)

$tree->select_child ($child)


$tree->select_child ($child)

$child (scalar)

$tree->select_item ($item)


$tree->select_item ($item)

$item (integer)

$tree->selection ()


$tree->selection ()


$tree->set_selection_mode ($mode)


$tree->set_selection_mode ($mode)

$mode (Gtk::SelectionMode)

$tree->set_view_lines ($flag)


$tree->set_view_lines ($flag)

$flag (integer)

$tree->set_view_mode ($mode)


$tree->set_view_mode ($mode)

$mode (Gtk::TreeViewMode)

$tree->unselect_child ($child)


$tree->unselect_child ($child)

$child (scalar)

$tree->unselect_item ($item)


$tree->unselect_item ($item)

$item (scalar)

Gtk::TreeItem


$tree_item->collapse ()


$tree_item->collapse ()


$tree_item->deselect ()


$tree_item->deselect ()


$tree_item->expand ()


$tree_item->expand ()


integer $tree_item->expanded ()


integer $tree_item->expanded ()


Gtk::TreeItem Gtk::TreeItem->new ($label)

$label (string)

Gtk::TreeItem Gtk::TreeItem->new_with_label ($label)

$label (scalar)

$tree_item->remove_subtree ()


$tree_item->remove_subtree ()


$tree_item->select ()


$tree_item->select ()


$tree_item->set_subtree ($subtree)


$tree_item->set_subtree ($subtree)

$subtree (Gtk::Widget)

Gtk::Widget $tree_item->subtree ()


Gtk::Widget $tree_item->subtree ()

Gtk::Type


$gtktype->_PerlTypeFromGtk ()


$gtktype->_PerlTypeFromGtk ()

internal: do not use.

Gtk::Type->_get_children ($basetype)

$basetype (string)

Gtk::Type->_get_nicknames ($type)

$type (string)

Gtk::Type->_get_packages ()


scalar Gtk::Type->int_to_hash ($type, $value)


scalar Gtk::Type->int_to_hash ($type, $value)

$type (string)
$value (integer)

get a perl reference to an array that corresponds to the given $value for the enum or flag $type. This is an internal function.

Gtk::VBox


Gtk::VBox Gtk::VBox->new ($homogeneous, $spacing)


Gtk::VBox Gtk::VBox->new ($homogeneous, $spacing)

$homogeneous (boolean)
$spacing (integer)

Gtk::VButtonBox


Gtk::ButtonBoxStyle Gtk::VButtonBox->get_layout_default ()


integer Gtk::VButtonBox->get_spacing_default ()


Gtk::VButtonBox Gtk::VButtonBox->new ()


Gtk::VButtonBox->set_layout_default ($layout)

$layout (Gtk::ButtonBoxStyle)

Gtk::VButtonBox->set_spacing_default ($spacing)

$spacing (integer)

Gtk::VPaned


Gtk::VPaned Gtk::VPaned->new ()

Gtk::VRuler


Gtk::VRuler Gtk::VRuler->new ()

Gtk::VScale


Gtk::VScale Gtk::VScale->new ($adjustment)

$adjustment (Gtk::Adjustment)

Gtk::VScrollbar


Gtk::VScrollbar Gtk::VScrollbar->new ($adjustment)

$adjustment (Gtk::Adjustment)

Gtk::VSeparator


Gtk::VSeparator Gtk::VSeparator->new ()

Gtk::Viewport


Gtk::Adjustment $viewport->get_hadjustment ()


Gtk::Adjustment $viewport->get_hadjustment ()


Gtk::Adjustment $viewport->get_vadjustment ()


Gtk::Adjustment $viewport->get_vadjustment ()


Gtk::Viewport Gtk::Viewport->new ($hadjustment, $vadjustment)


Gtk::Viewport Gtk::Viewport->new ($hadjustment, $vadjustment)

$hadjustment (Gtk::Adjustment) may be undef
$vadjustment (Gtk::Adjustment) may be undef

$viewport->set_hadjustment ($adjustment)


$viewport->set_hadjustment ($adjustment)

$adjustment (Gtk::Adjustment)

$viewport->set_shadow_type ($shadow_type)


$viewport->set_shadow_type ($shadow_type)

$shadow_type (Gtk::ShadowType)

$viewport->set_vadjustment ($adjustment)


$viewport->set_vadjustment ($adjustment)

$adjustment (Gtk::Adjustment)

Gtk::Widget


integer $widget->_return_pointer ()


integer $widget->_return_pointer ()


integer $widget->accelerator_signal ($accel_group, $accel_key, $accel_mods)


integer $widget->accelerator_signal ($accel_group, $accel_key, $accel_mods)

$accel_group (Gtk::AccelGroup)
$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

boolean $widget->accelerators_locked ()


boolean $widget->accelerators_locked ()


$widget->activate ()


$widget->activate ()


$widget->add_accelerator ($accel_signal, $accel_group, $accel_key, $accel_mods, $accel_flags)


$widget->add_accelerator ($accel_signal, $accel_group, $accel_key, $accel_mods, $accel_flags)

$accel_signal (string)
$accel_group (Gtk::AccelGroup)
$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)
$accel_flags (Gtk::AccelFlags)

$widget->add_events ($events)


$widget->add_events ($events)

$events (Gtk::Gdk::EventMask)

scalar $widget->allocation ()


scalar $widget->allocation ()


integer $widget->can_default ($newvalue)


integer $widget->can_default ($newvalue)

$newvalue (integer)

integer $widget->can_focus ($newvalue)


integer $widget->can_focus ($newvalue)

$newvalue (scalar)

$widget->class_path ()


$widget->class_path ()


$widget->destroy ()


$widget->destroy ()


$widget->destroyed ($ref)


$widget->destroyed ($ref)

$ref (scalar)

Gtk::Gdk::DragContext $widget->drag_begin ($targets, $actions, $button, $event)


Gtk::Gdk::DragContext $widget->drag_begin ($targets, $actions, $button, $event)

$targets (Gtk::TargetList)
$actions (Gtk::Gdk::DragAction)
$button (integer)
$event (Gtk::Gdk::Event)

$widget->drag_dest_set ($flags, $actions, ...)


$widget->drag_dest_set ($flags, $actions, ...)

$flags (Gtk::DestDefaults)
$actions (Gtk::Gdk::DragAction)
... (list)

$widget->drag_dest_set_proxy ($proxy_window, $protocol, $use_coordinates)


$widget->drag_dest_set_proxy ($proxy_window, $protocol, $use_coordinates)

$proxy_window (Gtk::Gdk::Window)
$protocol (Gtk::Gdk::DragProtocol)
$use_coordinates (boolean)

$widget->drag_dest_unset ()


$widget->drag_dest_unset ()


$widget->drag_get_data ($context, $target, $time)


$widget->drag_get_data ($context, $target, $time)

$context (Gtk::Gdk::DragContext)
$target (Gtk::Gdk::Atom)
$time (integer)

$widget->drag_highlight ()


$widget->drag_highlight ()


$widget->drag_source_set ($start_button_mask, $actions, ...)


$widget->drag_source_set ($start_button_mask, $actions, ...)

$start_button_mask (Gtk::Gdk::ModifierType)
$actions (Gtk::Gdk::DragAction)
... (list)

$widget->drag_source_set_icon ($colormap, $pixmap, $mask)


$widget->drag_source_set_icon ($colormap, $pixmap, $mask)

$colormap (Gtk::Gdk::Colormap) may be undef
$pixmap (Gtk::Gdk::Pixmap) may be undef
$mask (Gtk::Gdk::Bitmap) may be undef

$widget->drag_source_unset ()


$widget->drag_source_unset ()


$widget->drag_unhighlight ()


$widget->drag_unhighlight ()


$widget->draw ($area)


$widget->draw ($area)

$area (Gtk::Gdk::Rectangle)

$widget->draw_default ()


$widget->draw_default ()


$widget->draw_focus ()


$widget->draw_focus ()


integer $widget->drawable ()


integer $widget->drawable ()


$widget->ensure_style ()


$widget->ensure_style ()


integer $widget->event ($event)


integer $widget->event ($event)

$event (Gtk::Gdk::Event)

Gtk::Widget $widget->get_ancestor ($type_name)


Gtk::Widget $widget->get_ancestor ($type_name)

$type_name (string)

Gtk::Gdk::Colormap $widget->get_colormap ()


Gtk::Gdk::Colormap $widget->get_colormap ()


string $widget->get_composite_name ()


string $widget->get_composite_name ()


Gtk::Gdk::Colormap Gtk::Widget->get_default_colormap ()


Gtk::Style Gtk::Widget->get_default_style ()


Gtk::Gdk::Visual Gtk::Widget->get_default_visual ()


Gtk::Gdk::EventMask $widget->get_events ()


Gtk::Gdk::EventMask $widget->get_events ()


Gtk::Gdk::ExtensionMode $widget->get_extension_events ()


Gtk::Gdk::ExtensionMode $widget->get_extension_events ()


string $widget->get_name ()


string $widget->get_name ()


Gtk::Gdk::Window $widget->get_parent_window ()


Gtk::Gdk::Window $widget->get_parent_window ()


$widget->get_pointer ()


$widget->get_pointer ()


Gtk::Style $widget->get_style ()


Gtk::Style $widget->get_style ()


Gtk::Widget $widget->get_toplevel ()


Gtk::Widget $widget->get_toplevel ()


Gtk::Gdk::Visual $widget->get_visual ()


Gtk::Gdk::Visual $widget->get_visual ()


$widget->grab_add ()


$widget->grab_add ()


$widget->grab_default ()


$widget->grab_default ()


$widget->grab_focus ()


$widget->grab_focus ()


$widget->grab_remove ()


$widget->grab_remove ()


integer $widget->has_default ($newvalue)


integer $widget->has_default ($newvalue)

$newvalue (scalar)

integer $widget->has_focus ($newvalue)


integer $widget->has_focus ($newvalue)

$newvalue (scalar)

$widget->hide ()


$widget->hide ()


$widget->hide_all ()


$widget->hide_all ()


integer $widget->hide_on_delete ()


integer $widget->hide_on_delete ()


scalar $widget->intersect ($area)


scalar $widget->intersect ($area)

$area (Gtk::Gdk::Rectangle)

integer $widget->is_ancestor ($ancestor)


integer $widget->is_ancestor ($ancestor)

$ancestor (Gtk::Widget)

integer $widget->is_sensitive ()


integer $widget->is_sensitive ()


Gtk::ItemFactory $widget->item_factory ()


Gtk::ItemFactory $widget->item_factory ()


string $widget->item_factory_path ()


string $widget->item_factory_path ()


$widget->lock_accelerators ()


$widget->lock_accelerators ()


$widget->map ()


$widget->map ()


integer $widget->mapped ($newvalue)


integer $widget->mapped ($newvalue)

$newvalue (scalar)

$widget->modify_style ($rcstyle)


$widget->modify_style ($rcstyle)

$rcstyle (Gtk::RcStyle)

integer $widget->motion_notify_event ($event)


integer $widget->motion_notify_event ($event)

$event (Gtk::Gdk::Event)

Gtk::Widget $klass->new_from_pointer ($pointer)


Gtk::Widget $klass->new_from_pointer ($pointer)

$pointer (integer)

integer $widget->no_window ($newvalue)


integer $widget->no_window ($newvalue)

$newvalue (scalar)

Gtk::Widget $widget->parent ()


Gtk::Widget $widget->parent ()


integer $widget->parent_sensitive ($newvalue)


integer $widget->parent_sensitive ($newvalue)

$newvalue (scalar)

$widget->path ()


$widget->path ()


Gtk::Widget->pop_colormap ()


Gtk::Widget->pop_composite_child ()


Gtk::Widget->pop_style ()


Gtk::Widget->pop_visual ()


$widget->popup ($x, $y)


$widget->popup ($x, $y)

$x (integer)
$y (integer)

Gtk::Widget->push_colormap ($colormap)

$colormap (Gtk::Gdk::Colormap)

Gtk::Widget->push_composite_child ()


Gtk::Widget->push_style ($style)

$style (Gtk::Style)

Gtk::Widget->push_visual ($visual)

$visual (Gtk::Gdk::Visual)

$widget->queue_clear ()


$widget->queue_clear ()


$widget->queue_clear_area ($x, $y, $width, $height)


$widget->queue_clear_area ($x, $y, $width, $height)

$x (integer)
$y (integer)
$width (integer)
$height (integer)

$widget->queue_draw ()


$widget->queue_draw ()


$widget->queue_draw_area ($x, $y, $width, $height)


$widget->queue_draw_area ($x, $y, $width, $height)

$x (integer)
$y (integer)
$width (integer)
$height (integer)

$widget->queue_resize ()


$widget->queue_resize ()


$widget->realize ()


$widget->realize ()


integer $widget->realized ($newvalue)


integer $widget->realized ($newvalue)

$newvalue (scalar)

$widget->ref ()


$widget->ref ()


$widget->remove_accelerator ($accel_group, $accel_key, $accel_mods)


$widget->remove_accelerator ($accel_group, $accel_key, $accel_mods)

$accel_group (Gtk::AccelGroup)
$accel_key (integer)
$accel_mods (Gtk::Gdk::ModifierType)

$widget->remove_accelerators ($accel_signal, $visible_only)


$widget->remove_accelerators ($accel_signal, $visible_only)

$accel_signal (string)
$visible_only (boolean)

$widget->reparent ($reparent)


$widget->reparent ($reparent)

$reparent (Gtk::Widget)

$widget->reset_rc_styles ()


$widget->reset_rc_styles ()


$widget->reset_shapes ()


$widget->reset_shapes ()


$widget->restore_default_style ()


$widget->restore_default_style ()


Gtk::StateType $widget->saved_state ($newvalue)


Gtk::StateType $widget->saved_state ($newvalue)

$newvalue (Gtk::StateType)

$widget->selection_add_target ($selection, $target, $info)


$widget->selection_add_target ($selection, $target, $info)

$selection (Gtk::Gdk::Atom)
$target (Gtk::Gdk::Atom)
$info (integer)

$widget->selection_add_targets ($selection, ...)


$widget->selection_add_targets ($selection, ...)

$selection (Gtk::Gdk::Atom)
... (list)

integer $widget->selection_clear ($event)


integer $widget->selection_clear ($event)

$event (Gtk::Gdk::Event)

integer $widget->selection_convert ($selection, $target, $time)


integer $widget->selection_convert ($selection, $target, $time)

$selection (Gtk::Gdk::Atom)
$target (Gtk::Gdk::Atom)
$time (integer)

integer $window->selection_incr_event ($event)


integer $window->selection_incr_event ($event)

$event (Gtk::Gdk::Event)

integer $widget->selection_notify ($event)


integer $widget->selection_notify ($event)

$event (Gtk::Gdk::Event)

integer $widget->selection_owner_set ($atom, $time)


integer $widget->selection_owner_set ($atom, $time)

$atom (Gtk::Gdk::Atom)
$time (integer)

integer $widget->selection_property_notify ($event)


integer $widget->selection_property_notify ($event)

$event (Gtk::Gdk::Event)

$widget->selection_remove_all ()


$widget->selection_remove_all ()


integer $widget->selection_request ($event)


integer $widget->selection_request ($event)

$event (Gtk::Gdk::Event)

integer $widget->sensitive ($newvalue)


integer $widget->sensitive ($newvalue)

$newvalue (scalar)

$widget->set_app_paintable ($paintable)


$widget->set_app_paintable ($paintable)

$paintable (boolean)

$widget->set_colormap ($colormap)


$widget->set_colormap ($colormap)

$colormap (Gtk::Gdk::Colormap)

$widget->set_composite_name ($name)


$widget->set_composite_name ($name)

$name (string)

Gtk::Widget->set_default_colormap ($colormap)

$colormap (Gtk::Gdk::Colormap)

Gtk::Widget->set_default_style ($style)

$style (Gtk::Style)

Gtk::Widget->set_default_visual ($visual)

$visual (Gtk::Gdk::Visual)

$widget->set_events ($events)


$widget->set_events ($events)

$events (Gtk::Gdk::EventMask)

$widget->set_extension_events ($events)


$widget->set_extension_events ($events)

$events (Gtk::Gdk::ExtensionMode)

$widget->set_name ($name)


$widget->set_name ($name)

$name (string)

$widget->set_parent ($parent)


$widget->set_parent ($parent)

$parent (Gtk::Widget)

$widget->set_parent_window ($window)


$widget->set_parent_window ($window)

$window (Gtk::Gdk::Window)

$widget->set_rc_style ()


$widget->set_rc_style ()


boolean $widget->set_scroll_adjustments ($hadj, $vadj)


boolean $widget->set_scroll_adjustments ($hadj, $vadj)

$hadj (Gtk::Adjustment)
$vadj (Gtk::Adjustment)

$widget->set_sensitive ($sensitive)


$widget->set_sensitive ($sensitive)

$sensitive (integer)

$widget->set_state ($state)


$widget->set_state ($state)

$state (Gtk::StateType)

$widget->set_style ($style)


$widget->set_style ($style)

$style (Gtk::Style)

$widget->set_uposition ($x, $y)


$widget->set_uposition ($x, $y)

$x (integer)
$y (integer)

$widget->set_usize ($width, $height)


$widget->set_usize ($width, $height)

$width (integer)
$height (integer)

$widget->set_visual ($visual)


$widget->set_visual ($visual)

$visual (Gtk::Gdk::Visual)

$widget->shape_combine_mask ($shape_mask, $offset_x, $offset_y)


$widget->shape_combine_mask ($shape_mask, $offset_x, $offset_y)

$shape_mask (Gtk::Gdk::Bitmap)
$offset_x (integer)
$offset_y (integer)

$widget->show ()


$widget->show ()


$widget->show_all ()


$widget->show_all ()


$widget->show_now ()


$widget->show_now ()


$widget->size_allocate ($allocation)


$widget->size_allocate ($allocation)

$allocation (Gtk::Allocation)

$widget->size_request ($request)


$widget->size_request ($request)

$request (Gtk::Requisition)

Gtk::StateType $widget->state ($newvalue)


Gtk::StateType $widget->state ($newvalue)

$newvalue (Gtk::StateType)

Gtk::Style $widget->style ()


Gtk::Style $widget->style ()


$widget->unlock_accelerators ()


$widget->unlock_accelerators ()


$widget->unmap ()


$widget->unmap ()


$widget->unparent ()


$widget->unparent ()


$widget->unrealize ()


$widget->unrealize ()


$widget->unref ()


$widget->unref ()


integer $widget->visible ($newvalue)


integer $widget->visible ($newvalue)

$newvalue (scalar)

Gtk::Gdk::Window $widget->window ()


Gtk::Gdk::Window $widget->window ()

Gtk::Window


$window->activate_default ()


$window->activate_default ()


$window->activate_focus ()


$window->activate_focus ()


$window->add_accel_group ($accel_group)


$window->add_accel_group ($accel_group)

$accel_group (Gtk::AccelGroup)

$window->add_embedded_xid ($xid)


$window->add_embedded_xid ($xid)

$xid (integer)

Gtk::Window Gtk::Window->new ($type)

$type (Gtk::WindowType)

$window->position ($position)


$window->position ($position)

$position (Gtk::WindowPosition)

$window->remove_accel_group ($accel_group)


$window->remove_accel_group ($accel_group)

$accel_group (Gtk::AccelGroup)

$window->remove_embedded_xid ($xid)


$window->remove_embedded_xid ($xid)

$xid (scalar)

$window->reposition ($x, $y)


$window->reposition ($x, $y)

$x (integer)
$y (integer)

$window->set_default ($defaultw)


$window->set_default ($defaultw)

$defaultw (Gtk::Widget)

$window->set_default_size ($width, $height)


$window->set_default_size ($width, $height)

$width (integer)
$height (integer)

$window->set_focus ($focus)


$window->set_focus ($focus)

$focus (Gtk::Widget)

$window->set_geometry_hints ($geometry_widget, $geometry, $flags)


$window->set_geometry_hints ($geometry_widget, $geometry, $flags)

$geometry_widget (Gtk::Widget)
$geometry (Gtk::Gdk::Geometry)
$flags (Gtk::Gdk::WindowHints)

$window->set_modal ($modal)


$window->set_modal ($modal)

$modal (integer)

$window->set_policy ($allow_shrink, $allow_grow, $auto_shrink)


$window->set_policy ($allow_shrink, $allow_grow, $auto_shrink)

$allow_shrink (integer)
$allow_grow (integer)
$auto_shrink (integer)

$window->set_position ($position)


$window->set_position ($position)

$position (scalar)

$window->set_title ($title)


$window->set_title ($title)

$title (string)

$window->set_transient_for ($parent)


$window->set_transient_for ($parent)

$parent (Gtk::Window)

$window->set_wmclass ($wmclass_name, $wmclass_class)


$window->set_wmclass ($wmclass_name, $wmclass_class)

$wmclass_name (string)
$wmclass_class (string)

POD ERRORS

Hey! The above document had some coding errors, which are explained below:
Around line 9:
=back without =over