debian man page for gtk2::object

Query: gtk2::object

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Gtk2::Object(3pm)					User Contributed Perl Documentation					 Gtk2::Object(3pm)

NAME
Gtk2::Object - wrapper for GtkObject
HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object
METHODS
object = Gtk2::Object->new ($object_class, ...) o $object_class (string) package name of object to create o ... (list) of property-name => value pairs Create a new object of type $object_class, with some optional initial property values. You may see this used in some code as Gtk2::Widget->new, e.g. $window = Gtk2::Widget->new ('Gtk2::Window', title => 'something cool', allow_grow => TRUE); This is really just a convenience function that wraps Glib::Object->new. boolean = $object->bindings_activate ($keyval, $modifiers) o $keyval (integer) o $modifiers (Gtk2::Gdk::ModifierType) Although "activate" and "activate_event" are "Gtk2::Object" methods, as of Gtk 2.12 binding sets are only associated with widgets so on an object as such the return is always false (no binding activated). Further, although "activate" and binding sets are both expressed in terms of keyvals, internally the lookup is by keycode. If a keyval cannot be generated by at least one keycode/modifier combination (see Gtk2::Gdk::Keymap) then it cannot be activated. In particular this means keyvals like "Pointer_Button1" which are not actual keys cannot be dispatched by "activate" (returning false for no binding activated). boolean = $object->bindings_activate_event ($event) o $event (Gtk2::Gdk::Event) Since: gtk+ 2.4 $object->destroy This is an explicit destroy --- NOT the auto destroy; Gtk2::Object inherits that from Glib::Object!
PROPERTIES
'user-data' (gpointer : default 0 : readable / writable / private) Anonymous User Data Pointer
SIGNALS
destroy (Gtk2::Object)
ENUMS AND FLAGS
flags Gtk2::Gdk::ModifierType o 'shift-mask' / 'GDK_SHIFT_MASK' o 'lock-mask' / 'GDK_LOCK_MASK' o 'control-mask' / 'GDK_CONTROL_MASK' o 'mod1-mask' / 'GDK_MOD1_MASK' o 'mod2-mask' / 'GDK_MOD2_MASK' o 'mod3-mask' / 'GDK_MOD3_MASK' o 'mod4-mask' / 'GDK_MOD4_MASK' o 'mod5-mask' / 'GDK_MOD5_MASK' o 'button1-mask' / 'GDK_BUTTON1_MASK' o 'button2-mask' / 'GDK_BUTTON2_MASK' o 'button3-mask' / 'GDK_BUTTON3_MASK' o 'button4-mask' / 'GDK_BUTTON4_MASK' o 'button5-mask' / 'GDK_BUTTON5_MASK' o 'super-mask' / 'GDK_SUPER_MASK' o 'hyper-mask' / 'GDK_HYPER_MASK' o 'meta-mask' / 'GDK_META_MASK' o 'release-mask' / 'GDK_RELEASE_MASK' o 'modifier-mask' / 'GDK_MODIFIER_MASK'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Object(3pm)
Related Man Pages
gtk2::cellrendereraccel(3) - suse
gtk2::gdk::device(3) - suse
gtk2::accelerator(3pm) - debian
gtk2::bindingset(3pm) - debian
gtk2::gdk::device(3pm) - debian
Similar Topics in the Unix Linux Community
Lumbricidae WORM 0.1.0 (Default branch)