[patch] GtkScaleButton Methods
| From: | Bob Majdak Jr | Date: | Tue, 22 Jan 2008 02:42:28 +0000 |
| Subject: | [patch] GtkScaleButton Methods | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-4079@lists.php.net to get a copy of this message | ||
This is an updated patch to one I posted awhile ago, addressing all the issues Andrei had with it. Works great now.
Attachment: [text/x-patch] gtkscalebutton-methods-bob20080121a.diff
Please don't use _marshal suffix for helper function like these. Fixed.
While this works, it's not how the objects should be constructed. Fixed.
Do we need to duplicate the strings when adding them to the list? No. Fixed.Screenshot: http://www.opsat.net/temp/gtkscalebutton.jpg Code for screenshot: http://p.opsat.net/v/174/35 Adds two two new methods: GtkScaleButton::__construct( GtkIconSize size, float min, float max, float step[, array iconlist] ); GtkScaleButton::set_icons(array iconlist); Enabling classes: GtkScaleButton GtkVolumeButton -- Bob Majdak Jr KateOS Rofflecopter Pilot http://www.kateos.org
Attachment: [text/x-patch] gtkscalebutton-methods-bob20080121a.diff