man Gtk::reference () - Reference documentation for the Gtk module

NAME

Gtk::reference - Reference documentation for the Gtk module

Gtk

$func->_bootstrap ()

Gtk->_exit ($status)

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

Gtk->error ($text)

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)

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)

Get the widget the event event is destined for.

Gtk->grab_add ($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)

Remove widget to the grab list.

integer Gtk->idle_add ($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.

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)

Remove an idle handler identified by tag.

Gtk->init ()

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

Gtk->init_add ($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, ...)

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)

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)

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

Quit the main loop.

integer Gtk->major_version ()

integer Gtk->micro_version ()

integer Gtk->minor_version ()

* ... (list)

Gtk->module_configure ($data)

Gtk->print ($text)

Print text using Gtk+'s output facilities.

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

Gtk->quit_remove ($tag)

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.

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)

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)

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

* ... (list)

Gtk->watch_remove ($tag)

Gtk::AccelGroup

$accel_group->attach ($object)

$accel_group->detach ($object)

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

$accel_group->lock ()

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

$accel_group->unlock ()

Gtk::AccelLabel

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

$accel_label->set_accel_widget ($accel_widget)

Gtk::Accelerator

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

Gtk::Accelerator->parse ($accelerator)

Gtk::Accelerator->set_default_mod_mask ($default_mod_mask)

Gtk::Adjustment

$adj->changed ()

$adjustment->set_value ($value)

$adj->value_changed ()

Gtk::Alignment

Gtk::Arrow

Gtk::AspectFrame

Gtk::Bin

Gtk::Box

$box->children ()

$box->pack_end_defaults ($child)

$box->pack_start_defaults ($child)

$box->query_child_packing ($child)

$box->set_homogeneous ($homogeneous)

$box->set_spacing ($spacing)

Gtk::BoxChild

Gtk::Button

$button->clicked ()

$button->enter ()

$button->leave ()

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

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

$button->pressed ()

$button->released ()

$button->set_relief ($style)

Gtk::ButtonBox

$buttonbox->get_child_ipadding ()

Gtk::ButtonBox->get_child_ipadding_default ()

$buttonbox->get_child_size ()

Gtk::ButtonBox->get_child_size_default ()

$buttonbox->set_layout ($layout_style)

$buttonbox->set_spacing ($spacing)

Gtk::CList

* ... (list) additional strings to put in the second, third... columns

$clist->clear ()

$clist->column_title_active ($column)

$clist->column_title_passive ($column)

$clist->column_titles_active ()

$clist->column_titles_hide ()

$clist->column_titles_passive ()

$clist->column_titles_show ()

$clist->freeze ()

* ... (list) additional strings to put in the second, third... columns

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

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

* ... (list) additional strings to put in the second, third... column titles
* ... (list) additional strings to put in the second, third... columns

$clist->remove ($row)

$clist->row_list ()

$clist->select_all ()

$clist->selection ()

$clist->set_auto_sort ($auto_sort)

$clist->set_border ($type)

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

* ... (list) additional arguments to the compare function

$clist->set_focus_row ($row)

$clist->set_hadjustment ($adj)

$clist->set_reorderable ($reorderable)

$clist->set_row_height ($height)

$clist->set_selection_mode ($mode)

$clist->set_shadow_type ($type)

$clist->set_sort_column ($column)

$clist->set_sort_type ($sort_type)

$clist->set_use_drag_icons ($use_icons)

$clist->set_vadjustment ($adj)

$clist->sort ()

$clist->thaw ()

$clist->undo_selection ()

$clist->unselect_all ()

Gtk::CTree

$ctree->collapse ($node)

$ctree->collapse_recursive ($node)

* ... (list) additional column titles

$ctree->expand ($node)

$ctree->expand_recursive ($node)

* ... (list) additional column titles
* ... (list)
* ... (list)

$ctree->remove ($node)

$ctree->remove_node ($node)

$ctree->select ($node)

$ctree->select_recursive ($node)

$ctree->set_expander_style ($expander_style)

$ctree->set_indent ($indent)

$ctree->set_line_style ($line_style)

$ctree->set_reorderable ($reorderable)

$ctree->set_show_stub ($show_stub)

$ctree->set_spacing ($spacing)

$ctree->sort ($node)

$ctree->sort_node ($node)

$ctree->sort_recursive ($node)

$ctree->toggle_expansion ($node)

$ctree->toggle_expansion_recursive ($node)

$ctree->unselect ($node)

$ctree->unselect_recursive ($node)

Gtk::CTreeNode

Gtk::CTreeRow

Gtk::Calendar

$calendar->clear_marks ()

$calendar->display_options ($flags)

$calendar->freeze ()

$calendar->get_date ()

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

$calendar->select_day ($day)

$calendar->thaw ()

Gtk::CheckButton

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

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

Gtk::CheckMenuItem

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

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

$check_menu_item->set_active ($state)

$check_menu_item->set_show_toggle ($always)

$check_menu_item->set_state ($state)

$check_menu_item->toggled ()

Gtk::ColorSelection

$color_selection->get_color ()

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

$color_selection->set_opacity ($use_opacity)

$color_selection->set_update_policy ($policy)

Gtk::ColorSelectionDialog

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

Gtk::Combo

$combo->disable_activate ()

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

$combo->set_case_sensitive ($value)

$combo->set_popdown_strings (...)

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

$combo->set_use_arrows ($value)

$combo->set_use_arrows_always ($value)

Gtk::Container

$container->border_width ($width)

$container->check_resize ()

$container->children ()

$container->clear_resize_widgets ()

$container->dequeue_resize_handler ()

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

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

* ... (list)

Gtk::Container->get_toplevels ()

$container->queue_resize ()

$container->register_toplevel ()

$container->resize_children ()

$container->set_border_width ($width)

$container->set_focus_child ($child)

$container->set_focus_hadjustment ($adjustment)

$container->set_focus_vadjustment ($adjustment)

$container->set_resize_mode ($resize_mode)

$container->unregister_toplevel ()

Gtk::Curve

$curve->get_vector ($points)

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

$curve->reset ()

$curve->set_curve_type ($type)

$curve->set_gamma ($gamma)

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

* ... (list)

Gtk::Dialog

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

Gtk::DrawingArea

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

Gtk::Editable

$editable->changed ()

$editable->copy_clipboard ()

$editable->cut_clipboard ()

$editable->delete_selection ()

$editable->paste_clipboard ()

$editable->set_editable ($is_editable)

$editable->set_position ($position)

Gtk::Entry

$entry->append_text ($text)

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

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

$entry->prepend_text ($text)

$entry->set_editable ($editable)

$entry->set_max_length ($max)

$entry->set_position ($position)

$entry->set_text ($text)

$entry->set_visibility ($visibility)

Gtk::EventBox

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

Gtk::FileSelection

$file_selection->complete ($pattern)

$file_selection->hide_fileop_buttons ()

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

$file_selection->set_filename ($filename)

$file_selection->show_fileop_buttons ()

Gtk::Fixed

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

Gtk::FontSelection

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

$font_selection->set_preview_text ($text)

Gtk::FontSelectionDialog

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

$font_selection_dialog->set_preview_text ($text)

Gtk::Frame

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

$frame->set_label ($label)

$frame->set_shadow_type ($shadow)

Gtk::GammaCurve

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)

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)

Put the evnt in the event queue.

Gtk::Gdk->event_send_clientmessage_toall ($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)

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 CW@ARGV.

boolean Gtk::Gdk->init_check ()

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

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)

Remove the input handler identified by tag.

Gtk::Gdk->key_repeat_disable ()

Gtk::Gdk->key_repeat_restore ()

$time->keyboard_ungrab ()

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

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

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

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

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

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

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)

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.

string Gtk::Gdk->set_locale ()

Gtk::Gdk->set_show_events ($show_events)

Gtk::Gdk->set_sm_client_id ($client_id)

Gtk::Gdk->set_use_xshm ($use_xshm)

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)

Gtk::Gdk::Atom

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

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

Get the name of CW$atom.

Gtk::Gdk::Bitmap

Gtk::Gdk::Color

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

Find out if two colors are equal.

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

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

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

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

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

Gtk::Gdk::ColorContext

$colorc->free ()

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

Gtk::Gdk::Colormap

$colormap->change ($ncolors)

$colormap->color_alloc ($color)

Allocate CW$color in CW$colormap.

$colormap->color_black ()

Get the black color from CW$colormap.

$colormap->color_change ($color)

$colormap->color_white ()

Get the white color from CW$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::Cursor

$cursor->destroy ()

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

Create a new cursor.

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

Gtk::Gdk::DragContext

$context->abort ($time)

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

* ... (list) list of Gtk::Gdk::Atom

$context->drop ($time)

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

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

$context->ref ()

$context->set_icon_default ()

$context->unref ()

Gtk::Gdk::Font

Get the ascent of CW$font.

Get the width of CW$character.

Get the descent of CW$font.

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

Create a new fontset from CW$name.

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

Create a new font from CW$name.

$font->ref ()

Get infromation about CW$text's extents.

Get the height of CW$text.

Get the width of CW$string.

Get infromation about CW$text's extents.

Get the height of CW$text.

Get the width first CW$text_len chars of CW$string.

Gtk::Gdk::GC

$gc->destroy ()

Get the attributes of the graphics context.

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

$gc->rgb_gc_set_background ($rgb)

$gc->rgb_gc_set_foreground ($rgb)

$gc->set_background ($color)

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

$gc->set_clip_mask ($mask)

$gc->set_clip_rectangle ($rectangle)

$gc->set_clip_region ($region)

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

* ... (list) list of integers with dash lengths

$gc->set_exposures ($exposures)

$gc->set_fill ($fill)

Set the fill rule.

$gc->set_font ($font)

Set the font in CW$gc.

$gc->set_foreground ($color)

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

$gc->set_function ($function)

Set the function to use in drawing operations.

Set the attributes to use when drawing lines.

$gc->set_stipple ($stipple)

$gc->set_subwindow ($mode)

$gc->set_tile ($tile)

Gtk::Gdk::Image

$image->destroy ()

Destroy the image.

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

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

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

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

Gtk::Gdk::Pixmap

Get the low-level id of the drawable.

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

* ... (list)

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

Create a pixmap from CW$filename.

* ... (list)

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

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

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

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

* ... (list) list with the x and y coordinates of the line ends

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

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

* ... (list) list with the x and y coordinates of additional points to draw

Draw the points.

* ... (list) coordinates the the vertex in the polygon

Draw an (optionally filled) polygon.

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

* ... (list) list with the x1,y1,x2 and y2 coordinates of the additional segments

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

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

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

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

$window->get_size ()

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

Get the type of the drawable.

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

Gtk::Gdk::Property

Delete the property CW$property from CW$window.

Gtk::Gdk::Rectangle

Gtk::Gdk::Region

$region->destroy ()

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

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

* ... (list) x and y coordinates of the polygon

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)

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

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

Gtk::Gdk::Rgb::Cmap

$cmap->free ()

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

* ... (list)

Gtk::Gdk::Selection

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

Get the window the owns CW$selection.

Gtk::Gdk::Visual

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

Clear the specified area of the background of the window.

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

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

$window->destroy ()

$window->get_children ()

Get the children of window.

Get the colormap of the window.

Get the event mask for window.

$window->get_geometry ()

Get info about the geometry of the window.

Get the parent window.

$window->get_pointer ()

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

$window->get_position ()

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

Get the toplevel window.

Get the visual of the window.

$window->hide ()

Get info about the window visibility.

$window->lower ()

$window->merge_child_shapes ()

Move the window to the new x and y coordinates.

Move and resize the window at the same time.

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

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

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

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

$window->property_delete ($property)

Delete the property CW$property from CW$window.

$window->raise ()

$window->register_dnd ()

Reparent window at the x and y coordinates in new_parent.

Resize the window to the new width and height.

Convert the specified selection to the type identified by target.

$window->selection_property_get ()

Get the value and type of the selection property.

Set the specified pixmap as the background of window.

$window->set_background ($color)

Set the background color of the window.

$window->set_child_shapes ()

$window->set_colormap ($colormap)

Set the specified colormap for the window.

$window->set_cursor ($Cursor)

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

$window->set_decorations ($decorations)

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

$window->set_events ($event_mask)

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

$window->set_functions ($functions)

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

$window->set_group ($leader)

$window->set_icon_name ($name)

Set the name of the icon for window.

$window->set_override_redirect ($override_redirect)

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

$window->set_role ($role)

$window->set_title ($title)

Set the title of the window.

$window->set_transient_for ($leader)

Set window as a transient window for leader.

$window->show ()

$window->withdraw ()

Gtk::HBox

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)

Gtk::HButtonBox->set_spacing_default ($spacing)

Gtk::HPaned

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

Gtk::HRuler

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

Gtk::HScale

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

Gtk::HScrollbar

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

Gtk::HSeparator

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

Gtk::HandleBox

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

$handlebox->set_handle_position ($position)

$handlebox->set_shadow_type ($type)

$handlebox->set_snap_edge ($edge)

Gtk::Image

$image->get ()

Gtk::InputDialog

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

Gtk::Invisible

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

Gtk::Item

$item->deselect ()

$item->select ()

$item->toggle ()

Gtk::ItemFactory

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

* ... (list)

$item_factory->create_items (...)

* ... (list)

$item_factory->delete_entry ($entry)

$item_factory->delete_item ($path)

Gtk::ItemFactory->parse_rc ($file_name)

Gtk::ItemFactory->parse_rc_string ($rc_string)

Gtk::Label

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

$label->set ($string)

$label->set_justify ($jtype)

$label->set_line_wrap ($wrap)

$label->set_pattern ($string)

$label->set_text ($string)

Gtk::Layout

$layout->freeze ()

$layout->set_hadjustment ($hadj)

$layout->set_vadjustment ($vadj)

$layout->thaw ()

Gtk::List

$list->append_items (...)

* ... (list) list of Gtk::ListItem widgets

$list->end_drag_selection ()

$list->end_selection ()

$list->insert_items ($position, ...)

* ... (list) list of Gtk::ListItem widgets

Gtk::List Gtk::List->new ()

$list->prepend_items (...)

* ... (list)

$list->remove_items (...)

* ... (list)

$list->remove_items_no_unref (...)

* ... (list)

$list->select_all ()

$list->select_child ($widget)

$list->select_item ($the_item)

$list->set_selection_mode ($mode)

$list->start_selection ()

$list->toggle_add_mode ()

$list->toggle_focus_row ()

$list->toggle_row ($item)

$list->undo_selection ()

$list->unselect_all ()

$list->unselect_child ($widget)

$list->unselect_item ($the_item)

Gtk::ListItem

$list_item->deselect ()

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

Gtk::ListItem Gtk::ListItem->new_with_label ($string)

$list_item->select ()

Gtk::Menu

$menu->append ($child)

$menu->detach ()

Gtk::Menu Gtk::Menu->new ()

$menu->popdown ()

$menu->prepend ($child)

$menu->reposition ()

$menu->set_accel_group ($accel_group)

$menu->set_active ($index)

$menu->set_tearoff_state ($torn_off)

$menu->set_title ($title)

Gtk::MenuBar

$menubar->append ($child)

Gtk::MenuBar Gtk::MenuBar->new ()

$menubar->prepend ($child)

$menubar->set_shadow_type ($type)

Gtk::MenuFactory

$factory->add_entries ($entry, ...)

* ... (list)

$factory->destroy ()

Gtk::MenuFactory Gtk::MenuFactory->new ($type)

$factory->remove_entries ($entry, ...)

* ... (list)

$factory->remove_paths ($path, ...)

* ... (list)

Gtk::MenuItem

$menu_item->activate ()

$menu_item->deselect ()

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

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

$menu_item->remove_submenu ()

$menu_item->right_justify ()

$menu_item->select ()

$menu_item->set_placement ($placement)

$menu_item->set_submenu ($child)

Gtk::MenuShell

$menu_shell->append ($child)

$menu_shell->deactivate ()

$menu_shell->deselect ()

$menu_shell->prepend ($child)

$menu_shell->select_item ($child)

Gtk::Misc

Gtk::Notebook

Gtk::Notebook Gtk::Notebook->new ()

$notebook->next_page ()

$notebook->popup_disable ()

$notebook->popup_enable ()

$notebook->prev_page ()

$notebook->remove_page ($page_num)

$notebook->set_homogeneous_tabs ($homog)

$notebook->set_page ($page_num)

$notebook->set_scrollable ($scrollable)

$notebook->set_show_border ($show_border)

$notebook->set_show_tabs ($show_tabs)

$notebook->set_tab_border ($border)

$notebook->set_tab_hborder ($border)

$notebook->set_tab_pos ($pos)

$notebook->set_tab_vborder ($border)

Gtk::NotebookPage

Gtk::Object

Gtk::Object->_get_arg_info ($name)

Gtk::Object->_get_args ($parent)

Gtk::Object->_get_signal_info ($name)

Gtk::Object->_get_signals ($parent)

Gtk::Object->add_signals (...)

* ... (list)

$object->destroy ()

$object->get ($name, ...)

* ... (list)

scalar Gtk::Object->new (...)

* ... (list)

string Gtk::Object->parent_type ()

$object->ref ()

* ... (list)
* ... (list)

$object->set_user_data ($data)

* ... (list)
* ... (list)

$object->signal_disconnect ($id)

$object->signal_emit ($name)

$object->signal_emit_by_name ($name)

$object->signal_emit_stop ($name)

$object->signal_emit_stop_by_name ($name)

$object->signal_handler_block ($handler_id)

$object->signal_handler_unblock ($handler_id)

$object->signal_handlers_destroy ()

$object->unref ()

Gtk::OptionMenu

Gtk::OptionMenu Gtk::OptionMenu->new ()

$optionmenu->remove_menu ()

$optionmenu->set_history ($index)

$optionmenu->set_menu ($menu)

Gtk::Packer

$packer->children ()

Gtk::Packer Gtk::Packer->new ()

$packer->reorder_child ($child,$position)

$packer->set_default_border_width ($border)

$packer->set_spacing ($spacing)

Gtk::PackerChild

Gtk::Paned

$paned->add1 ($child)

$paned->add2 ($child)

$paned->gutter_size ($size)

$paned->handle_size ($size)

$paned->set_gutter_size ($size)

$paned->set_handle_size ($size)

$paned->set_position ($position)

Gtk::Pixmap

$pixmap->get ()

$pixmap->set_build_insensitive ($build)

Gtk::Plug

Gtk::Plug Gtk::Plug->new ($socket_id)

Gtk::Preview

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

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

Gtk::Preview Gtk::Preview->new ($type)

$preview->set_expand ($expand)

Gtk::Preview->set_gamma ($gamma)

Gtk::Preview->set_install_cmap ($install_cmap)

Gtk::Preview->set_reserved ($reserved)

Gtk::Progress

$progress->get_percentage_from_value ($value)

$progress->set_activity_mode ($activity_mode)

$progress->set_adjustment ($adjustment)

$progress->set_format_string ($format)

$progress->set_percentage ($percentage)

$progress->set_show_text ($show_text)

$progress->set_value ($value)

Gtk::ProgressBar

Gtk::ProgressBar Gtk::ProgressBar->new ()

Gtk::ProgressBar Gtk::ProgressBar->new_with_adjustment ($adjustment)

$progressbar->set_activity_blocks ($blocks)

$progressbar->set_activity_step ($step)

$progressbar->set_bar_style ($style)

$progressbar->set_discrete_blocks ($blocks)

$progressbar->set_orientation ($orientation)

$progressbar->update ($percentage)

Gtk::RadioButton

$radiobutton->group ()

Gtk::RadioButton Gtk::RadioButton->new_from_widget ($group)

$radio_button->set_group ($other_button)

Gtk::RadioMenuItem

$radiomenuitem->group ()

Gtk::Range

$range->clear_background ()

$range->default_hslider_update ()

$range->default_vslider_update ()

$range->draw_background ()

$range->draw_slider ()

$range->draw_step_back ()

$range->draw_step_forw ()

$range->draw_trough ()

$range->set_adjustment ($adjustment)

$range->set_update_policy ($policy)

$range->slider_update ()

Gtk::Rc

Gtk::Rc->add_default_file ($file)

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)

Get the style of widget.

string Gtk::Rc->get_theme_dir ()

Gtk::Rc->parse ($filename)

Parse filename for style and resource information.

Gtk::Rc->parse_string ($data)

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,...)

* ... (list)

Add file and any additional filename as default resource file sto read.

Gtk::RcStyle

$rc_style->modify_font ($font_name)

$rc_style->modify_fontset ($font_name)

Gtk::RcStyle Gtk::RcStyle->new ()

Gtk::Ruler

$ruler->draw_pos ()

$ruler->draw_ticks ()

$ruler->set_metric ($metric)

Gtk::Scale

$scale->draw_value ()

$scale->set_digits ($digits)

$scale->set_draw_value ($draw_value)

$scale->set_value_pos ($pos)

Gtk::ScrolledWindow

$scrolled_window->set_hadjustment ($adj)

$scrolled_window->set_placement ($window_placement)

$scrolled_window->set_vadjustment ($adj)

Gtk::SelectionData

Get the data in the selection.

Get the format of the data (8, 16 or 32 bit data).

Get the length of the data in the selection.

Get a Gtk::Gdk:Atom describing the selection.

Set the data in the selection.

Get a Gtk::Gdk:Atom describing the target type of the data of the selection.

Get a Gtk::Gdk:Atom describing the type of data of the selection.

Gtk::Socket

Gtk::Socket Gtk::Socket->new ()

$socket->steal ($wid)

Gtk::SpinButton

$spinbutton->set_adjustment ($adjustment)

$spinbutton->set_digits ($digits)

$spinbutton->set_numeric ($numeric)

$spin_button->set_shadow_type ($type)

$spinbutton->set_snap_to_ticks ($snap_to_ticks)

$spinbutton->set_update_policy ($policy)

$spinbutton->set_value ($value)

$spinbutton->set_wrap ($wrap)

$spin_button->update ()

Gtk::Statusbar

$statusbar->messages ()

Gtk::Statusbar Gtk::Statusbar->new ()

$statusbar->pop ($context_id)

Gtk::Style

$style->detach ()

* ... (list)

Gtk::Style Gtk::Style->new ()

$style->ref ()

$style->unref ()

Gtk::Table

$table->set_col_spacings ($spacing)

$table->set_homogeneous ($homogeneous)

$table->set_row_spacings ($spacing)

Gtk::TargetList

$target_list->add_table (...)

* ... (list)

$target_list->find ($target)

Gtk::TargetList Gtk::TargetList->new (...)

* ... (list)

$target_list->ref ()

$target_list->remove ($target)

$target_list->unref ()

Gtk::TearoffMenuItem

Gtk::TearoffMenuItem Gtk::TearoffMenuItem->new ()

Gtk::Text

$text->backward_delete ($nchars)

$text->forward_delete ($nchars)

$text->freeze ()

$text->set_editable ($editable)

$text->set_line_wrap ($line_wrap)

$text->set_point ($index)

$text->set_word_wrap ($word_wrap)

$text->thaw ()

Gtk::TipsQuery

Gtk::TipsQuery Gtk::TipsQuery->new ()

$tips_query->set_caller ($caller)

$tips_query->start_query ()

$tips_query->stop_query ()

Gtk::ToggleButton

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

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

$toggle_button->set_active ($state)

$toggle_button->set_mode ($draw_indicator)

$toggle_button->set_state ($state)

$toggle_button->toggled ()

Gtk::Toolbar

$toolbar->append_space ()

$toolbar->insert_space ($position)

$toolbar->prepend_space ()

$toolbar->set_button_relief ($relief)

$toolbar->set_orientation ($orientation)

$toolbar->set_space_size ($space_size)

$toolbar->set_space_style ($space_style)

$toolbar->set_style ($style)

$toolbar->set_tooltips ($enable)

Gtk::Tooltips

$tooltips->disable ()

$tooltips->enable ()

$tooltips->force_window ()

Gtk::Tooltips Gtk::Tooltips->new ()

$tooltips->set_delay ($delay)

Gtk::Tree

$tree->append ($child)

Gtk::Tree Gtk::Tree->new ()

$tree->prepend ($child)

$tree->remove_item ($child)

$tree->remove_items (...)

* ... (list)

$tree->select_child ($child)

$tree->select_item ($item)

$tree->selection ()

$tree->set_selection_mode ($mode)

$tree->set_view_lines ($flag)

$tree->set_view_mode ($mode)

$tree->unselect_child ($child)

$tree->unselect_item ($item)

Gtk::TreeItem

$tree_item->collapse ()

$tree_item->deselect ()

$tree_item->expand ()

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

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

$tree_item->remove_subtree ()

$tree_item->select ()

$tree_item->set_subtree ($subtree)

Gtk::Type

$gtktype->_PerlTypeFromGtk ()

internal: do not use.

Gtk::Type->_get_children ($basetype)

Gtk::Type->_get_nicknames ($type)

Gtk::Type->_get_packages ()

get a perl reference to an array that corresponds to the given CW$value for the enum or flag CW$type. This is an internal function.

Gtk::VBox

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)

Gtk::VButtonBox->set_spacing_default ($spacing)

Gtk::VPaned

Gtk::VPaned Gtk::VPaned->new ()

Gtk::VRuler

Gtk::VRuler Gtk::VRuler->new ()

Gtk::VScale

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

Gtk::VScrollbar

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

Gtk::VSeparator

Gtk::VSeparator Gtk::VSeparator->new ()

Gtk::Viewport

$viewport->set_hadjustment ($adjustment)

$viewport->set_shadow_type ($shadow_type)

$viewport->set_vadjustment ($adjustment)

Gtk::Widget

$widget->activate ()

$widget->add_events ($events)

$widget->class_path ()

$widget->destroy ()

$widget->destroyed ($ref)

* ... (list)

$widget->drag_dest_unset ()

$widget->drag_highlight ()

* ... (list)

$widget->drag_source_unset ()

$widget->drag_unhighlight ()

$widget->draw ($area)

$widget->draw_default ()

$widget->draw_focus ()

$widget->ensure_style ()

Gtk::Gdk::Colormap Gtk::Widget->get_default_colormap ()

Gtk::Style Gtk::Widget->get_default_style ()

Gtk::Gdk::Visual Gtk::Widget->get_default_visual ()

$widget->get_pointer ()

$widget->grab_add ()

$widget->grab_default ()

$widget->grab_focus ()

$widget->grab_remove ()

$widget->hide ()

$widget->hide_all ()

$widget->lock_accelerators ()

$widget->map ()

$widget->modify_style ($rcstyle)

$widget->path ()

Gtk::Widget->pop_colormap ()

Gtk::Widget->pop_composite_child ()

Gtk::Widget->pop_style ()

Gtk::Widget->pop_visual ()

Gtk::Widget->push_colormap ($colormap)

Gtk::Widget->push_composite_child ()

Gtk::Widget->push_style ($style)

Gtk::Widget->push_visual ($visual)

$widget->queue_clear ()

$widget->queue_draw ()

$widget->queue_resize ()

$widget->realize ()

$widget->ref ()

$widget->reparent ($reparent)

$widget->reset_rc_styles ()

$widget->reset_shapes ()

$widget->restore_default_style ()

$widget->selection_add_targets ($selection, ...)

* ... (list)

$widget->selection_remove_all ()

$widget->set_app_paintable ($paintable)

$widget->set_colormap ($colormap)

$widget->set_composite_name ($name)

Gtk::Widget->set_default_colormap ($colormap)

Gtk::Widget->set_default_style ($style)

Gtk::Widget->set_default_visual ($visual)

$widget->set_events ($events)

$widget->set_extension_events ($events)

$widget->set_name ($name)

$widget->set_parent ($parent)

$widget->set_parent_window ($window)

$widget->set_rc_style ()

$widget->set_sensitive ($sensitive)

$widget->set_state ($state)

$widget->set_style ($style)

$widget->set_visual ($visual)

$widget->show ()

$widget->show_all ()

$widget->show_now ()

$widget->size_allocate ($allocation)

$widget->size_request ($request)

$widget->unlock_accelerators ()

$widget->unmap ()

$widget->unparent ()

$widget->unrealize ()

$widget->unref ()

Gtk::Window

$window->activate_default ()

$window->activate_focus ()

$window->add_accel_group ($accel_group)

$window->add_embedded_xid ($xid)

Gtk::Window Gtk::Window->new ($type)

$window->position ($position)

$window->remove_accel_group ($accel_group)

$window->remove_embedded_xid ($xid)

$window->set_default ($defaultw)

$window->set_focus ($focus)

$window->set_modal ($modal)

$window->set_position ($position)

$window->set_title ($title)

$window->set_transient_for ($parent)