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

Class: PEAR_Frontend_Gtk_DirSelect

Source Location: /PEAR_Frontend_Gtk-0.4.0/Gtk/DirSelect.php

Class Overview


Gtk Frontend - Configuration


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 29]
Gtk Frontend - Configuration


[ Top ]


Class Variables

$cList =

[line 54]

The full list of directories

Type:   object GtkClist


[ Top ]

$entry =

[line 36]

The GtkEntry that shows the currently seelcted directory

Type:   object GtkEntry


[ Top ]

$optionMenu =

[line 48]

The Top pulldown

Type:   object GtkOptionMenu


[ Top ]

$ui =

[line 30]


Type:   mixed


[ Top ]

$window =

[line 42]

The GtkDialog of the window

Type:   object GtkDialog


[ Top ]



Method Detail

PEAR_Frontend_Gtk_DirSelect (Constructor)   [line 61]

PEAR_Frontend_Gtk_DirSelect PEAR_Frontend_Gtk_DirSelect( object PEAR_Frontend_Gtk &$ui)

Constructor

Parameters:

object PEAR_Frontend_Gtk   &$ui   — 

[ Top ]

onCancel   [line 233]

void onCancel( )

Callback when the cancel/destroy window is pressed

has to return TRUE (see the gtk tutorial on destroy events)


[ Top ]

onDirListClick   [line 222]

void onDirListClick( object gtkclist $widget, object gdkevent $event)

Callback when the list of directories is clicked

Used to find the double click to open it.


Parameters:

object gtkclist   $widget   — 
object gdkevent   $event   — 

[ Top ]

onDirListSelectRow   [line 200]

void onDirListSelectRow( $widget, string $row, string $directory)

Initial Select Row (not double click)

Makes this selected item the 'active directory'


Parameters:

string   $directory   —  name of directory to browse
string   $row   —  selected line
   $widget   — 

[ Top ]

onDirSelect   [line 87]

void onDirSelect( object gtkentry $widget, $key)

Display the Directory selection dialog

Displays the directory dialog, fills in the data etc.


Parameters:

object gtkentry   $widget   —  The text entry to fill in on closing
   $key   — 

[ Top ]

onOk   [line 244]

void onOk( )

Callback when the OK btn is pressed

hide window and update original widget.


[ Top ]


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