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

Class: Gtk2_ExceptionDump_Stack

Source Location: /Gtk2_ExceptionDump-1.0.0/Gtk2/ExceptionDump/Stack.php

Class Overview

Gtk2_VarDump_ColTreeView
   |
   --Gtk2_ExceptionDump_Stack

Stack trace list for an exception.


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 15]
Stack trace list for an exception.

Tree with the trace lines in top level, and the parameters in second level. Double-click an entry, and Gtk2_VarDump will be started. Drop an entry in your editor to open the file.



[ Top ]


Method Detail

__construct (Constructor)   [line 22]

Gtk2_ExceptionDump_Stack __construct( [mixed $exception = null])

Creates the stack trace list.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

build   [line 39]

void build( )

Sets up the columns and DnD thingies.
  • Access: protected

[ Top ]

clickedTree   [line 77]

void clickedTree( GtkTreeView $tree, GdkEvent $event)

The tree has been double-clicked. This causes Gtk2_VarDump to be opened with the selected stack trace entry.
  • Access: public

Parameters:

GtkTreeView   $tree   —  The tree which has been clicked
GdkEvent   $event   —  The event data for the click event

[ Top ]

onDragBegin   [line 134]

void onDragBegin( $widget, $context)

When a drag begins, we want to set DnD icon to reflect the contents of the row being dragged.
  • Access: public

Parameters:

   $widget   — 
   $context   — 

[ Top ]

onGetDragData   [line 105]

void onGetDragData( $widget, $context, $selection, $info, $time)

Returns the data at the end of a DnD operation that shall go into the target application.

Sets the file to drop.

  • Access: public

Parameters:

   $widget   — 
   $context   — 
   $selection   — 
   $info   — 
   $time   — 

[ Top ]

setException   [line 63]

void setException( mixed $exception, [int $nOmitLines = 0])

Sets and displays the exception.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error
int   $nOmitLines   —  Number of stack lines to supress

[ Top ]


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