PHP-GTK
Friday, December 19, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkComboBoxEntry::set_text_column
GtkContainer::addnext

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

GtkContainer

An abstract class to be extended by widgets that hold one or more other widgets.

Object Hierarchy

Direct Subclasses

Description

An abstract class to be extended by widget that hole one or more other widgets.

Containers (widgets that extend from GtkContainer) provide a context for the widgets they contain. Containers manage the location, re-sizing and order of their children.

Containers can be broken down into two groups: bins (containers that extend from GtkBin) and multi-child containers. Bins may only have one child and in general provide some additional set of functionality or display enhancement for their child widget. Multi-child containers, on the other hand, normally do not provide any additional functionality and instead focus on organizing a set of widgets.

Methods

add()
  Adds the given widget to the container.
check_resize()
  Emits the "check-resize" signal on the container.
child_type()
  Returns the type of the children supported by the container.
children()
  DEPRECATED
get_border_width()
  Returns border width.
get_children()
  Returns an array of all children
get_focus_chain()
  Returns the focus order.
get_focus_hadjustment()
  Retrieves the horizontal focus adjustment.
get_focus_vadjustment()
  Retrieves the vertical focus adjustment.
get_resize_mode()
  Returns the resize mode.
propagate_expose()
  Sends an expose event to a child.
remove()
  Removes a widget from the container.
resize_children()
  Recalculates its and the children's sizes.
set_border_width()
  Sets the border around the container.
set_focus_chain()
  Overrides the automatically computed focus chain.
set_focus_child()
  Emits the "set-focus-child" signal.
set_focus_hadjustment()
  Sets the horizontal adjustment.
set_focus_vadjustment()
  Sets the vertical adjustment.
set_reallocate_redraws()
  Sets the reallocate_redraws flag.
set_resize_mode()
  Sets the resize mode for the container.
unset_focus_chain()
  Removes a focus chain explicitly set.

Properties

Use get_property and set_property methods to access these.

border-width:
  Border around the container
child:
  Add a new child to the container.
resize-mode:
  How resize events are handled.

Signals

"add"
  Emitted when a child is added to the container with the add method.
"check-resize"
  Recalculation of children is requested.
"remove"
  Widget is removed from container.
"set-focus-child"
  Focus changes.


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


previousGtkComboBoxEntry::set_text_column
GtkContainer::addnext

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:56 2013 CEST