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

Class: Gtk2_ExceptionDump_Stack

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

Class Overview

Gtk2_VarDump_ColTreeView
   |
   --Gtk2_ExceptionDump_Stack

Stack trace list for an exception.


Author(s):

Version:

  • CVS: $Id$

Methods


Inherited Variables

Inherited Methods


Class Details

[line 20]
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 27]

Gtk2_ExceptionDump_Stack __construct( [mixed $exception = null])

Creates the stack trace list.
  • Access: public

Parameters:

mixed   $exception   —  Exception or PEAR_Error

[ Top ]

build   [line 44]

void build( )

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

[ Top ]

clickedTree   [line 82]

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 148]

void onDragBegin( GtkWidget $widget, mixed $context)

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

Parameters:

GtkWidget   $widget   —  Widget the drag begin with
mixed   $context   —  Drag context object

[ Top ]

onGetDragData   [line 116]

void onGetDragData( GtkWidget $widget, mixed $context, GtkSelection $selection, mixed $info, int $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:

GtkWidget   $widget   —  Widget the drag begin with
mixed   $context   —  Drag context object
GtkSelection   $selection   —  Selection object
mixed   $info   —  Info object
int   $time   —  Time the drag started

[ Top ]

setException   [line 68]

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 15:55:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.