GObject
Base class for nearly all classes in PHP-Gtk.
Object Hierarchy
Direct Subclasses
AtkHyperlink, AtkObject, AtkObjectFactory, AtkRegistry, AtkRelation, AtkRelationSet, AtkStateSet, AtkUtil, GdkColormap, GdkDevice, GdkDisplay, GdkDisplayManager, GdkDragContext, GdkDrawable, GdkGC, GdkImage, GdkKeymap, GdkPixbuf, GdkPixbufAnimation, GdkPixbufAnimationIter, GdkPixbufLoader, GdkScreen, GdkVisual, GtkAccelGroup, GtkAction, GtkActionGroup, GtkClipboard, GtkEntryCompletion, GtkIconFactory, GtkIconTheme, GtkListStore, GtkObject, GtkRcStyle, GtkSettings, GtkSizeGroup, GtkStatusIcon, GtkStyle, GtkTextBuffer, GtkTextChildAnchor, GtkTextMark, GtkTextTag, GtkTextTagTable, GtkTreeModelFilter, GtkTreeModelSort, GtkTreeSelection, GtkTreeStore, GtkUIManager, GtkWindowGroup, PangoContext, PangoFont, PangoFontFace, PangoFontFamily, PangoFontMap, PangoFontset, PangoLayout, GladeXML, GtkSourceLanguage, GtkSourceLanguagesManager, GtkSpell
Description
GObject is the base class of nearly all classes in Gtk. It provides methods to work with signals and properties.
Constructors
-- Creates a new GObject instance.
Methods
__toString() Creates a string representation of a GObject block() Temporarily blocks the signal handler. connect() Connects a signal to a callback. connect_after() Connects a signal to a callback, called after all normal signal handlers. connect_object() DEPRECATED Alias of connect_simple. connect_object_after() DEPRECATED Alias of connect_simple_after. connect_simple() Connects a signal to a callback, omitting the first parameter. connect_simple_after() Connects a signal to a callback, omitting the first parameter - called after all normal signal handlers. disconnect() Disconnects a signal handler. emit() Emits a signal on an object. Additional values may be passed with the emit call, these values will then be sent to any connected handlers. freeze_notify() Increments the freeze notify count get_data() Returns the value of user-defined field. get_property() Returns the value of an object property. is_connected() Checks if a signal handler is connected. list_properties() Lists all properties of a given class. notify() Emits the "notify" signal for the given property. register_type() Register a custom Gtype set_data() Sets a user-defined field. set_property() Sets a property on the object. signal_list_ids() Lists all signals of a given class. signal_list_names() Lists all signal names of a given class. signal_query() Provides additional information about a signal. stop_emission() Stops emission of a signal that is currently being emitted thaw_notify() Decrements the freeze notify count unblock() Unblocks a blocked signal handler.