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

Class: PEAR_PackageUpdate_Gtk2

Source Location: /PEAR_PackageUpdate_Gtk2-0.3.2/Gtk2.php

Class Overview

PEAR_PackageUpdate
   |
   --PEAR_PackageUpdate_Gtk2



Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 65]


[ Top ]


Class Variables

$detailsTable =

[line 81]

A GtkTable holding the detail information.
  • Access: public

Type:   object


[ Top ]

$widget =

[line 73]

The GtkDialog widget.
  • Access: public

Type:   object


[ Top ]



Method Detail

createDialog   [line 89]

void createDialog( )

Creates the dialog that will ask the user if it is ok to update.
  • Access: protected

[ Top ]

errorDialog   [line 523]

boolean errorDialog( [array $error = null])

Presents an error in a dialog window.
  • Return: true if an error was displayed.
  • Access: public

Parameters:

array   $error   —  An optional PEAR::ErrorStack error array.

[ Top ]

forceRestart   [line 485]

void forceRestart( )

Redirects or exits to force the user to restart the application.
  • Access: public

[ Top ]

getDetailsTable   [line 398]

object A getDetailsTable( )

Creates and/or returns a GtkTable holding the detail information.
  • Return: GtkTable.
  • Access: public

[ Top ]

prefDialog   [line 156]

void prefDialog( )

Creates and runs a dialog for setting preferences.
  • Access: public

[ Top ]

presentUpdate   [line 497]

boolean presentUpdate( )

Presents the user with the option to update.
  • Return: true if the user would like to update the package.
  • Access: public

[ Top ]

toggleSensitiveArray   [line 383]

void toggleSensitiveArray( GtkToggleButton $button, array $elements)

Makes the given array sensitive or insensitive depending on the state of the given button.
  • Access: public

Parameters:

object   $button   —  A GtkToggleButton instance.
array   $elements   —  The elements to make (in)sensitive.

[ Top ]


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