Next:
Gtk2::OptionMenu
Previous:
Gtk2::Notebook
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Object



NAME

Gtk2::Object

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object

METHODS

object = Gtk2::Object->new ($object_class, ...)

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)

Although activate and activate_event are Gtk2::Object methods, as of Gtk 2.12 they will only actually invoke signals on a Gtk2::Widget. On a Gtk2::Object the return is always false (no binding activated).

boolean = $object->bindings_activate_event ($event)

$object->destroy

This is an explicit destroy --- NOT the auto destroy; Gtk2::Object inherits that from Glib::Object!

PROPERTIES

'user-data' (gpointer : readable / writable / private)
Anonymous User Data Pointer

SIGNALS

destroy (Gtk2::Object)

ENUMS AND FLAGS

flags Gtk2::Gdk::ModifierType

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned

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:02:57 2009