GTK Popup Menu App: Create GTK popup menus bound to class functions

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-02-06 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 607 All time: 5,081 This week: 330Up
Version License PHP version Categories
xzypopapp 0.1GNU General Publi...5.0PHP 5, GUI
Description Author

This class can be used to create GTK popup menus bound to class functions.

It can retrieve the list of functions of the class and create a popup menu with entries that are handled by the class functions with names which do not start by _ nor are named run.

The menu entry titles are taken from the respective class names after replacing _ characters by spaces.

Applications should extend this class to define their own popup menus from their class function names.

Innovation Award
PHP Programming Innovation award nominee
February 2011
Number 4


Prize: One copy of RadPHP XE
Implementing GUI application menus requires defining the menu labels and the callback functions that will handle the menu actions.

This class implements an approach that makes it simpler. It can take a class with menu action callback functions and uses the name of the respective function names as labels.

Manuel Lemos
  Performance   Level  
Name: Luis Martinez Ulloa <contact>
Classes: 11 packages by
Country: Peru Peru
Innovation award
Innovation award
Nominee: 4x

Screenshots  
  • scr6.png
  • scr4.png
  • scr3.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file popup.php Example example script - don't forget to mark as executable (x flag in unices)
Plain text file xzydialogs.php Class auxiliary class
Plain text file xzypopapp.php Class base class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:607
This week:0
All time:5,081
This week:330Up

For more information send a message to info at phpclasses dot org.