Commit Graph

41 Commits

Author SHA1 Message Date
Andrei Zmievski af501a126b ELS_FETCH() is not needed inside PHP functions. 2001-03-07 16:38:01 +00:00
Andrei Zmievski 22332fc52f Override GtkLabel::get() to return label text. 2001-03-07 15:03:35 +00:00
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
Frank M. Kromann bdac374cb2 Removing overridden constructor for GtkFileSelection 2001-03-06 18:02:04 +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 de002f74b4 Fixing the return value of parameters passed by ref.
Thsi has effect on clist_get_text() and other functions using gchar** types as argument.
2001-03-05 21:25:37 +00:00
Jan Lehnardt ec9007d590 Added label feature to GtkCheckMenuItem. I forgot nothing, hopefully ;-) 2001-03-05 18:36:05 +00:00
Andrei Zmievski 2230ca633c Allow specifying label for GtkCheckMenuItem. 2001-03-05 17:23:54 +00:00
Andrei Zmievski b97558748c * Implemented support for menu creation via GtkItemFactory.
* Implemented get_type() methods for every Gtk* class.
* Enhanced overrides parsing to allow setting functions as class methods
  or moving methods from one class to another.
* 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 00:21:42 +00:00
Frank M. Kromann 6315bf220b Refixing overrides where function name is changed 2001-03-03 19:13:22 +00:00
Frank M. Kromann 766c5f1f9b Adding cvs ID 2001-03-03 18:42:16 +00:00
Frank M. Kromann b143788a3d Removing php warnings while parsing gtk.overrides 2001-03-03 18:41:57 +00:00
Andrei Zmievski ea5720cb46 Move GtkCheckButton constructor closer to its peers and add ignore part. 2001-03-03 15:49:29 +00:00
Jan Lehnardt aaae36b766 allowing GtkCheckButton to be labeled. 2001-03-03 12:46:22 +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 8475f3020e *** empty log message *** 2001-02-28 21:49:55 +00:00
Andrei Zmievski 2be2f16207 Fix Bool_Arg parsing. 2001-02-28 16:53:46 +00:00
Frank M. Kromann 528850b20a Removing compiler warnings 2001-02-27 21:43:13 +00:00
Frank M. Kromann 9ba7f19651 Ignore some gtk_draw_* functions to allow build on Win32 2001-02-27 17:56:24 +00:00
Andrei Zmievski ccfe067539 Implement GtkContainer::children. 2001-02-27 17:16:54 +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 e23795ca67 Allow GtkStyle constructor. 2001-02-26 17:38:13 +00:00
Andrei Zmievski cb2df20aef Label is optional. 2001-02-26 14:16:29 +00:00
Jan Lehnardt 746722d833 allow GtkMenuItem to take one argument (string) which is labels the GtkMenuItem 2001-02-25 23:15:20 +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 e515041835 Override gtk_tree_item_new to allow specifying a label. 2001-02-19 20:41:11 +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 b92516f171 Don't rely on globals. 2001-02-06 14:07: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 45f2823a2b * Fixed constructor generation
* Overrode GtkButton() and GtkListItem() constructors so that a text
  label can be optionally passed in.
2001-02-04 00:41:23 +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 0a81509b9c * gdk_ and gtk_ are stripped from the PHP visible method names
* made it possible to override PHP visible function name from gtk.overrides
* if parsing enum/flags value fails in the constructor, the object is
  invalidated
2001-02-03 06:56:17 +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 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