1Gtk2::Object(3)       User Contributed Perl Documentation      Gtk2::Object(3)
2
3
4

NAME

6       Gtk2::Object
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12

METHODS

14   object = Gtk2::Object->new ($object_class, ...)
15           ·   $object_class (string) package name of object to create
16
17           ·   ... (list) of property-name => value pairs
18
19           Create a new object of type $object_class, with some optional
20           initial property values.  You may see this used in some code as
21           Gtk2::Widget->new, e.g.
22
23            $window = Gtk2::Widget->new ('Gtk2::Window',
24                                         title => 'something cool',
25                                         allow_grow => TRUE);
26
27           This is really just a convenience function that wraps
28           Glib::Object->new.
29
30   $object->destroy
31           This is an explicit destroy --- NOT the auto destroy; Gtk2::Object
32           inherits that from Glib::Object!
33

PROPERTIES

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

SIGNALS

39       destroy (Gtk2::Object)
40

SEE ALSO

42       Gtk2, Glib::Object, Glib::InitiallyUnowned
43
45       Copyright (C) 2003-2008 by the gtk2-perl team.
46
47       This software is licensed under the LGPL.  See Gtk2 for a full notice.
48
49
50
51perl v5.12.0                      2010-05-02                   Gtk2::Object(3)
Impressum