PHP-GTK
Thursday, July 24, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGlade::get_widget_tree
GladeXML Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GladeXML

Represents an instantiation of an XML interface description.

Object Hierarchy

Description

Glade is an user builder for Gtk+. You can rapidly create user interfaces in a WYSIWYG fashion using the tool, which generates an XML representation of that interface in the form of a .glade

This object represents an instantiation of that .glade. You can use this object in your program to individually handle your widgets.

It is also possible to describe signal handlers using Glade. If you have done so, you may use the signal_autoconnect() method to automatically connect all the widgets to their respective handlers. If your handlers are part of classes, then use the signal_autoconnect_instance() method.

Do have a look at Glade Tutorial for more on how to use the Glade extension.

Constructors

GladeXML (filename [, root [, domain]]);

-- Creates a new GladeXML instance from a file.

GladeXML::new_from_buffer (buffer [, root [, domain]]);

-- Creates a new GladeXML instance from a string.

Methods

get_widget()
  Returns a GtkWidget object corresponding to the given name.
get_widget_prefix()
  Returns a set of widgets whose names begin with the provided string.
relative_file()
  Resolves relative pathnames specified by a file.
signal_autoconnect()
  Automatically connects all specified signal handlers to their corresponding functions.
signal_autoconnect_instance()
  Automatically connects all specified signal handlers to their corresponding methods of a class.
signal_connect()
 


User Contributed Notes
glade.gladexml.php
add a note about notes
There are no user contributed notes for this page.


previousGlade::get_widget_tree
GladeXML Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:55 2013 CEST