Commit Graph

32 Commits

Author SHA1 Message Date
Andrei Zmievski f9058c3f1f * Fixed function entry name generation.
* Added Gtk::true() and Gtk::false(). Yes, these are just what they look
  like - functions that return true and false. Handy for certain callbacks.
* Fixed connect_object() semantics, it only requires two arguments now.
* Standardized all callback marshallers - callbacks are now smoother than
  Jennifer Alba's bottom and they all take user supplied extra arguments.
* Moved callback validation right up to the call time, so that callbacks
  included from other files could be used as well.
* This necessitated better error messages - so now if it the callback is
  not valid, the filename and line number where it was specified are shown.
* Updated gtk.php and list.php to use connect_object() as an example.
2001-03-07 05:37:22 +00:00
Andrei Zmievski 1e4378d830 * Each factory item can now specify as the last entry an array of
additional arguments to be passed to the callback.
* Implemented GtkCombo::set_popdown_strings(), see gtk.php for example.
* Added GdkPixmap::create_from_xpm().
* Added toggle buttons and entry examples to gtk.php.
2001-03-06 04:53:39 +00:00
Frank M. Kromann e6faebe1e7 Fixing crash when using file dialogs, caused by uninitialized variables. 2001-03-05 19:53:09 +00:00
Andrei Zmievski be4891ee6c VIM modeline changes and moving declaration a bit. 2001-03-05 15:57:42 +00:00
Frank M. Kromann c0b347a466 Fixing build on win32. 2001-03-05 15:52:36 +00:00
Andrei Zmievski 5508f6ad3c * Renamed php_gtk_check_callable() to php_gtk_is_callable().
* Added an extra parameter to php_gtk_is_callable() that is filled in
  with the name of the callable. Now just need to use it everywhere.
* Added php_gtk_parse_args_hash() internal function.
2001-03-05 04:47:49 +00:00
Andrei Zmievski 707fb80a75 Move PHP-GTK initialization and shutdown into request functions. 2001-03-03 21:12:51 +00:00
Andrei Zmievski 3f705f1319 Fixed return value of timeout and idle handler marshaller. 2001-03-03 16:12:11 +00:00
Andrei Zmievski 94f9b0410d * Fixed returning objects from methods.
* Implemented GtkTipsQuery class.
* Added GtkObject::connect_object method.
* Modified GtkToggleButton constructor to accept optional label.
2001-03-03 06:25:22 +00:00
Andrei Zmievski 440c15895c Changing my email address. 2001-03-01 16:43:33 +00:00
Andrei Zmievski 97777635af We do need to ref the wrapper before storing it. 2001-02-28 16:14:20 +00:00
Andrei Zmievski eadf4058d7 * Fix inline functions declarations
* Fix php_gtk_check_callable() to allow array('Class', 'method') call
2001-02-28 04:48:23 +00:00
Frank M. Kromann 528850b20a Removing compiler warnings 2001-02-27 21:43:13 +00:00
Frank M. Kromann bcc4ef86a4 Fixing unresolved symbols on Win32 2001-02-27 17:44:42 +00:00
Andrei Zmievski 65e754509f Generic property handlers now percolate up the inheritance chain
to see whether parent objects have the needed property.
2001-02-27 16:54:01 +00:00
Andrei Zmievski 815156997b * Fixed up marshallers for idle, timeout, and input handlers.
* Implemented access to object fields/properties.
2001-02-27 05:16:35 +00:00
Andrei Zmievski ca98449474 Implement better abstraction of property handlers, thus allowing
for object field access in the near future.
2001-02-26 21:21:20 +00:00
Andrei Zmievski e23795ca67 Allow GtkStyle constructor. 2001-02-26 17:38:13 +00:00
Andrei Zmievski 5fdc442d75 Added support for GdkDragContext and GtkStyle. 2001-02-24 23:55:07 +00:00
Andrei Zmievski 87b42ecd80 * Support for GtkAccelGroup
* Disabled direct construction of certain classes
* Added GdkWindow property handling functions
2001-02-23 04:48:03 +00:00
Andrei Zmievski 8d7c247895 * Added support for GdkGC, GtkSelectionData, GtkCTreeNode.
* Added format specifier to argument parser to allow separation
  of zval's.
* Added GtkCTree constructor and node insertion function.
* Added GdkWindow::new_gc method
2001-02-20 01:55:03 +00:00
Andrei Zmievski fea2d4e6d3 * Deal with non-pseudocolor colormaps properly.
* Implemented GdkFont functions.
* Added support for 's#' parse arg spec.
2001-02-10 05:10:44 +00:00
Andrei Zmievski 4609cecd2c * Partial GdkFont support.
*
2001-02-09 05:31:34 +00:00
Andrei Zmievski e11a26f080 * Support for GdkCursor, GdkVisual
* Rewrote a lot of overridden functions
2001-02-08 05:02:17 +00:00
Andrei Zmievski 73fdbf45b2 * Added a couple of GdkWindow methods.
* Added GdkPixmap, GdkBitmap, and GdkDrawable handling.
2001-02-06 03:56:52 +00:00
Andrei Zmievski 6e49252724 Implement support for GdkAtom boxed type. 2001-02-05 04:26:58 +00:00
Andrei Zmievski 2052db1c02 * Added LGPL license
* Fixed enum/flags code generation properly
* Fixed a bug that would not recognize default value of 0
* Added GtkList::append_items method
* Added a couple of example scripts
2001-02-04 00:08:49 +00:00
Andrei Zmievski 861aba02e2 Check for NULL object before trying to use it. 2001-02-03 06:57:13 +00:00
Andrei Zmievski 7e2a734ef7 Initial work on GdkColormap and also trying to support array offset
overloading.
2001-02-03 04:55:29 +00:00
Andrei Zmievski 63341faafd *** empty log message *** 2001-02-01 05:14:14 +00:00
Andrei Zmievski 29cc7d51e9 - Added php_gtk_parse_args_quiet() to allow parsing arguments without
outputting errors.
- More work on GdkColor - pretty much implemented.
- Added generic set property handler.
2001-02-01 05:11:11 +00:00
Andrei Zmievski c72f03f396 Initial check-in 2001-01-29 22:15:59 +00:00