Commit Graph

26 Commits

Author SHA1 Message Date
Andrei Zmievski 42f15af56e Added GtkCTree::get_node_info(). 2001-05-23 16:59:39 +00:00
Andrei Zmievski 98d6f7e5e9 * Cleaned up cruft from the code generator that was left over from
trying to handle byref args automatically.
* Started working on having only one object wrapper for each boxed type
  pointer. Obviously broke stuff, but will fix soon.
2001-05-04 04:31:40 +00:00
Andrei Zmievski 3040664b1a * Fixed Gdk::pixmap_create_from_xpm* to accept null for window parameter.
* Added Gdk::pixmap_colormap_create_from_xpm* methods.
* Allowed unsetting style in GtkCtree::node_set_row_style() by passing null.
* Added GtkCtree methods post_recursive(), post_recursive_to_depth(),
  pre_recursive(), pre_cursive_to_depth() that can be used to traverse the
  CTree.
* Fixed GtkCtree 'selection' property access.
* Finished CTree example in gtk.php.
2001-04-22 21:24:39 +00:00
Andrei Zmievski 01c37a9baf * Optimized internal resource creation a bit, now accessing overloaded
properties will not keep creating resources as much as before.
* A bit more work on GtkCTree.
2001-04-13 21:58:41 +00:00
Andrei Zmievski 6319753be5 * Added GtkCTree 'selection' and 'row_list' properties. They are not really
GtkCTree properties, but rather belong to underlying GtkCList, but GtkCTree
  overloads them.
* Fixed a bug that would corrupt object type when setting cascaded property.
* Fixed access of GtkCTreeNode 'children' property.
* Adjusted gtk.php sample according to above changes.
2001-04-13 04:37:54 +00:00
Andrei Zmievski eb3de03767 Fix 2001-04-10 03:39:49 +00:00
Andrei Zmievski b8fc0e915b * Fixed up boxed arg handling in the generator.
* Moved helper structs/classes into php_gtk_types.c and created constructors
  for them.
* A bit more work on GtkCTree example.
2001-04-10 01:46:38 +00:00
Andrei Zmievski 90b3dafc29 * Implemented better separation of GdkWindow, GdkPixmap, and GdkBitmap.
* Added GtkCList 'row_list' property and GtkCListRow helper class.
* Finally fixed GtkCTree::insert_row() for good. No wonder it wasn't working.
* Added GtkCTree::node_set_row_data(), GtkCTree::node_get_row_data().
* More work on GtkCTree example in gtk.php.
2001-03-31 22:23:12 +00:00
Andrei Zmievski 8c0fa64b5a * Added GtkCTree 'clist' property.
* Implemented GtkObject::set_data(), GtkObject::get_data(),
  GtkObject::connect_after(), GtkObject::connect_object_after().
* Started on GtkCTree example, which incidentally shows a bunch of other
  GTK+ stuff.
2001-03-28 04:29:26 +00:00
Andrei Zmievski ce89b5bbd2 * Added GtkColorSelection::get_color, GtkColorSelection::set_color().
* Added radio buttons, check buttons, color selection, and cursors examples
  to gtk.php.
2001-03-24 23:49:43 +00:00
Andrei Zmievski 1763270203 Finished GtkCList example. 2001-03-20 20:28:45 +00:00
Andrei Zmievski 35eb9fa7f4 * Added GladeXML::signal_autoconnect(), docs later.
* Added GtkWidget 'style' property;
* Added GtkCList::prepend() and GtkCList::insert().
* Added single row insertion to CList example in gtk.php.
2001-03-20 05:01:21 +00:00
Andrei Zmievski a81a6211c0 CList example. Not finished yet. 2001-03-12 04:28:06 +00:00
Andrei Zmievski 00555d47f2 Add example of using gtk::type_name() and get_type() 2001-03-08 02:47:34 +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
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
Andrei Zmievski 517ce815cc * Added GtkTooltips and GtkTipsQuery examples to gtk.php.
* Added sample RC files.
2001-03-03 06:25:03 +00:00
Peter Petermann e78a331162 changed use of $OS for os detection
to use of constant PHP_OS,
$OS didnt work for detecting windows here,
and i couldnt find any documentation about it.
PHP_OS is a constant which shows right OS...
2001-03-02 13:18:36 +00:00
Andrei Zmievski d0b75c6d92 Button box test. 2001-02-28 21:33:19 +00:00
Frank M. Kromann dbfc6473ff Mised one function name. 2001-02-28 18:14:51 +00:00
Frank M. Kromann 6dc60ddc0a Fixing gtk.php to run on windows.
Second parameter in ->connect() should be a string !
2001-02-28 17:55:49 +00:00
Andrei Zmievski ca3f44b276 Add labels test. 2001-02-28 16:53:24 +00:00
Andrei Zmievski b2dbb6161a Started porting testgtk.c to PHP. Window destruction is screwed up,
need to fix.
2001-02-28 04:47:06 +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 71c482f42a Test. 2001-01-29 22:28:34 +00:00
Andrei Zmievski c72f03f396 Initial check-in 2001-01-29 22:15:59 +00:00