News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP-GTK Community Site:
Building a submenu in a GtkMenubar
December 06, 2006 @ 08:55:00

The PHP-GTK Community site is back again today with another quick tutorial showing how to build a submenu with the help of the GtkMenubar widget.

It's broken us into the key sections - details, a visual tree of the structure, the logic tree and relationships, and, finally the source code. It's a pretty simple process of creating the menu and appending the elements onto it, much like a normal drop down menu. The key is in the set_submenu function, creating a new object for the code to append the submenu elements to. The rest is just simple appends.

They've also included a screenshot to illustrate the end result.

0 comments voice your opinion now!
submenu gtkmenubar tutorial visual tree logical relationships submenu gtkmenubar tutorial visual tree logical relationships


blog comments powered by Disqus

Similar Posts

DashExamples.com: Capture Content Security Policy (CSP) Violations in PHP

Gonzalo Ayuso's Blog: Howto Send/Read SMSs using a GSM modem, AT+ commands and PHP

Web Developer Juice: 11 easy steps for installing Apache ActiveMQ and configuring it for PHP applica

Matt Williams' Blog: Implementing oAuth Twitter with CodeIgniter

PHP-GTK Community Blog: Articles on other sites (PHP6, an Intro & Desktop Apps)


Community Events





Don't see your event here?
Let us know!


interview wordpress community code configure language framework testing series introduction laravel developer release opinion threedevsandamaybe podcast list install unittest refactor

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework