PHP
  Home arrow PHP arrow Page 8 - Revisited: Building Cross Platform GUI App...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Revisited: Building Cross Platform GUI Apps With PHP-GTK
By: Mitchell Harper
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2002-11-17

    Table of Contents:
  • Revisited: Building Cross Platform GUI Apps With PHP-GTK
  • What is PHP-GTK?
  • Downloading and installing PHP-GTK
  • Installing PHP-GTK for Linux
  • Building our first PHP-GTK app
  • Registering multiple callback functions
  • Adding GTK widgets to our window
  • Other PHP-GTK widgets
  • A PHP-GTK database app
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Revisited: Building Cross Platform GUI Apps With PHP-GTK - Other PHP-GTK widgets


    (Page 8 of 10 )

    PHP-GTK has dozens of other widgets which we can instantiate and use in our application. Here's a list of some of those widgets, as well as a brief description of each of them:
    • GtkButton: A button that can be clicked on.
    • GtkCalendar: A calendar that shows dates that can be selected.
    • GtkCheckButton: A check box that can be toggled on and off.
    • GtkCList: A list with several columns that can be scrolled.
    • GtkColorSelection: A very cool widget that can be used to select colors.
    • GtkCombo: A dropdown list that can also accept typed in text.
    • GtkCTree: A tree list that can contain nodes that can expand and collapse.
    • GtkDialog: A popup dialog that can be modal.
    • GtkEntry: A text box with text that can be changed.
    • GtkFileSelection: Similar to Windows common dialog control, the GtkFileSelection control displays a dialog allowing us to choose a file on our local machine.
    • GtkFontSelection: A widget that allows us to select various font properties.
    • GtkFrame: A frame that can contain a caption.
    • GtkHRuler: A horizontal ruler.
    • GtkHScrollBar: A horizontal scrollbar.
    • GtkImage: A widget for displaying an image.
    • GtkMenu: A container widget that can hold menu items.
    • GtkNoteBook: A tabbed control that can display multiple tabs.
    • GtkProgressBar: A bar that can be used to display the progress of some event.
    • GtkRadioButton: A radio button that can be grouped.
    • GtkSpinButton: Used to increment/decrement a value using arrows.
    • GtkToolTips Used to add tooltips to other widgets.
    • GtkVBox: Vertical box container.
    • GtkVScrollBar: A vertical scrollbar.
    • GtkWindow: An application window.
    As you can see from the classes shown above, PHP-GTK contains all of the necessary classes to facilitate the development of a complete cross-platform GUI application.

    More PHP Articles
    More By Mitchell Harper


     

    PHP ARTICLES

    - Making Usage Statistics in PHP
    - Installing PHP under Windows: Further Config...
    - File Version Management in PHP
    - Statistical View of Data in a Clustered Bar ...
    - Creating a Multi-File Upload Script in PHP
    - Executing Microsoft SQL Server Stored Proced...
    - Code 10x More Efficiently Using Data Access ...
    - A Few Tips for Speeding Up PHP Code
    - The Modular Web Page
    - Quick E-Commerce with PHP and PayPal
    - Regression Testing With JMeter
    - Building an Iterator with PHP
    - PHP Frontend to ImageMagick
    - Using PEAR's mimeDecode Module
    - Incoming Mail and PHP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek