apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: Structures_Form_Element_Gtk2_Cancel

Source Location: /Structures_Form_Gtk2-0.8.0devel/Element/Gtk2/Cancel.php

Class Overview

GtkButton
   |
   --Structures_Form_Element_Gtk2_Button
      |
      --Structures_Form_Element_Gtk2_Cancel



Methods


Inherited Variables

Inherited Methods

Class: Structures_Form_Element_Gtk2_Button

Structures_Form_Element_Gtk2_Button::__construct()
Constructor.
Structures_Form_Element_Gtk2_Button::addEventHandler()
Adds an event handler for the element.
Structures_Form_Element_Gtk2_Button::clearValue()
Clears the current value of the element.
Structures_Form_Element_Gtk2_Button::freeze()
Freezes the element so that its value may not be changed.
Structures_Form_Element_Gtk2_Button::getLabel()
Returns the GtkLabel that identifies the element.
Structures_Form_Element_Gtk2_Button::getName()
Returns the element's name.
Structures_Form_Element_Gtk2_Button::getType()
Returns the element type.
Structures_Form_Element_Gtk2_Button::getValue()
Returns element's value.
Structures_Form_Element_Gtk2_Button::isFrozen()
Returns whether or not the element is currently frozen.
Structures_Form_Element_Gtk2_Button::setLabel()
Sets the GtkLabel that identifies the element.
Structures_Form_Element_Gtk2_Button::setName()
Sets the element name.
Structures_Form_Element_Gtk2_Button::setValue()
Sets an element's value.
Structures_Form_Element_Gtk2_Button::unfreeze()
Unfreezes the element so that its value may not be changed.

Class Details

[line 15]


[ Top ]


Method Detail

__construct (Constructor)   [line 28]

void __construct( Structures_Form $form, [string $label = ''], [string $text = Gtk::STOCK_CANCEL], [array $size = null], [object $style = null])

Constructor. Calls parent constructor with a callback.
  • Access: public

Overrides Structures_Form_Element_Gtk2_Button::__construct() (Constructor.)

Parameters:

object   $form   —  The Structures_Form.
string   $label   —  The string to be used as the label.
string   $text   —  The default text (optional).
array   $size   —  The height and width of the entry (optional).
object   $style   —  The GtkStyle to apply to the entry (optional).

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:44:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.