Next:
Gtk2::AccelLabel
Previous:
Gtk2::Accelerator
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::AccelGroup



NAME

Gtk2::AccelGroup

SYNOPSIS

  my $win = Gtk2::Window->new;
  my $accel = Gtk2::AccelGroup->new;
  $accel->connect (42, ['control-mask'], ['visible'], 
                   sub { # do something });
  $win->add_accel_group ($accel);

HIERARCHY

  Glib::Object
  +----Gtk2::AccelGroup

METHODS

accelgroup = Gtk2::AccelGroup->new

boolean = Gtk2::AccelGroups->activate ($object, $accel_key, $accel_mods)

$accel_group->connect ($accel_key, $accel_mods, $accel_flags, $func)

$accel_group->connect_by_path ($accel_path, $func)

boolean = $accel_group->disconnect ($func)

boolean = $accel_group->disconnect_key ($accel_key, $accel_mods)

list = Gtk2::AccelGroups->from_object ($object)

Returns a list of Gtk2::AccelGroup's.

$accel_group->lock

$accel_group->unlock

SIGNALS

boolean = accel-activate (Gtk2::AccelGroup, Glib::Object, Glib::UInt, Gtk2::Gdk::ModifierType)
accel-changed (Gtk2::AccelGroup, Glib::UInt, Gtk2::Gdk::ModifierType, GClosure)

ENUMS AND FLAGS

flags Gtk2::AccelFlags

flags Gtk2::Gdk::ModifierType

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:20 2009