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

Class: Gtk2_ExceptionDump_InfoBox

Source Location: /Gtk2_ExceptionDump-1.1.1/Gtk2/ExceptionDump/InfoBox.php

Class Overview

GtkHBox
   |
   --Gtk2_ExceptionDump_InfoBox

Information box with icon and the exception message.


Author(s):

Version:

  • CVS: $Id$

Methods


Inherited Variables

Inherited Methods


Class Details

[line 12]
Information box with icon and the exception message.


[ Top ]


Method Detail

__construct (Constructor)   [line 19]

Gtk2_ExceptionDump_InfoBox __construct( [mixed $exception = null])

Creates a new InfoBox and sets the exception.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

build   [line 33]

void build( )

Sets up the child widgets.
  • Access: protected

[ Top ]

setException   [line 67]

void setException( mixed $exception)

Sets and displays the exception.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

setMessage   [line 94]

void setMessage( string $message, [string $userinfo = ''])

Explicitely sets a message to display, not an exception.

Can be used to tell the user that no exception occured, but a normal variable has been passed.

  • Access: public

Parameters:

string   $message   —  The message to display
string   $userinfo   —  User information text that is display when expanding the label.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:55:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.