[PHP] PHP-GTK: GladeXML::get_widget() doesn't find some widgets

2012-02-09 Thread Yared Hufkens
I have a Glade file with this widget:

child
  widget class=GtkTextView id=errLog
property name=visibleTrue/property
property name=can_focusTrue/property
property name=editableFalse/property
property name=cursor_visibleFalse/property
property name=accepts_tabFalse/property
  /widget
  packing
property name=expandTrue/property
property name=fillTrue/property
property name=position2/property
  /packing
/child

which is a child of a GtkVBox (errContainer), which is a child of a
GtkWindow (errWindow), and I want to write something into it:

function openErr($message) {
logError($message);

$window = glade()-get_widget('errWindow');
$log = glade()-get_widget('errLog');

$buf = new GtkTextBuffer();
$buf-set_text(file_get_contents(LOG_FILE) or Cannot read file 
.LOG_FILE.!);

$log-set_buffer($buf);
$log-modify_font(new PangoFontDescription('Monospace'));

$window-show_all();
}


But get_widget() doesn't find errLog: I get a Fatal Error and
var_dump($log) outputs null. errWindow gets found anyway, and if I
comment the two lines with $log-method() out, errWindow appears on the
screen too.

How can I get the object of errLog?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP-GTK dead?

2012-01-11 Thread Cefull Lo
I don't think so. php-gtk is still very active here

http://php-gtk.eu/




On Wed, Jan 11, 2012 at 3:19 AM, Yared Hufkens y4...@yahoo.de wrote:

 It seems that PHP-GTK is completely dead. The latest version (2.0.1) was
 released on May 2008, nobody answers on questions in the mailing list,
 and the latest SVN commit is nearly one year ago.

 Am I wrong or is it senseless to write still PHP-GTK programs?

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GSC d- s:++ a- C++ UL/B+++$ !P L+++
E--- W+ N o-- K? w++ O? M- V- PS PE++(-) Y+
PGP++@ t 5 X R$ tv- b+++ DI++ D++
G++@ e h*--- r-- z?
-END GEEK CODE BLOCK--


[PHP] PHP-GTK dead?

2012-01-10 Thread Yared Hufkens
It seems that PHP-GTK is completely dead. The latest version (2.0.1) was
released on May 2008, nobody answers on questions in the mailing list,
and the latest SVN commit is nearly one year ago.

Am I wrong or is it senseless to write still PHP-GTK programs?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP-GTK dead?

2012-01-10 Thread Mike Mackintosh


On Jan 10, 2012, at 14:19, Yared Hufkens y4...@yahoo.de wrote:

 It seems that PHP-GTK is completely dead. The latest version (2.0.1) was
 released on May 2008, nobody answers on questions in the mailing list,
 and the latest SVN commit is nearly one year ago.
 
 Am I wrong or is it senseless to write still PHP-GTK programs?
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

I wouldn't call it completely dead as many sure still use it, especially since 
the release of phar. I am as well curious though of the roadmap for it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP-GTK, or something else, for desktop app development?

2005-05-16 Thread Murray @ PlanetThoughtful
Hi All,

I'd like to do some desktop app development and I'm looking for others'
thoughts on whether PHP-GTK is a suitable environment in which to work?

Years ago I developed desktop apps in Access / VB6, but it's been long
enough now, and VB in particular has changed so much in the intervening
time, that I'd have to relearn these anyway, so it seems like a good time to
either consolidate my PHP coding or to pick up some other language. Not to
mention that Access is entirely despicable for any purpose, desktop app
development included [1].

I'm wondering if PHP-GTK is mature / featured enough to handle a relatively
complex desktop app project, using features like table grids for displaying
/ editing data stored in a MySQL backend and so on.

My other alternative is to bite the bullet and learn something like Java,
though I assume my learning curve would be steeper and more time-consuming.
I pick Java because a) Everyone Seems To Love Javatm, and b) there appear
to be at least a couple of decent free Java IDEs available in NetBeans and
Eclipse (and maybe others that I don't know about).

In essence, I'm looking for a desktop app development environment that is
featured, connects well to MySQL, and is relatively painless to learn. Java
may not suit the last of those criteria, but I don't know enough about it at
this point to be scared of it if it is painful to learn.

Anyone have any thoughts to share about PHP-GTK and / or other desktop app
development environments that might be more suitable? Freeness of
development tools is a big plus to me in this, if that needs to be
explicitly said.

Much warmth,

Murray

[1] Just my opinion. I know I'd get a healthy argument from several
developers that I know.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP-GTK, or something else, for desktop app development?

2005-05-16 Thread Rory Browne
I don't think php-gtk is currently suitable. As of 22 April Andrei was
considering a very early alpha release. Taking that into consideration
I'd doubt if it's stable enough yet for production. Gtk 1 is afaik
obsolete.

If you're going to jump to a different language, then I'd seriously
consider another P-Language(ie python or Perl). Personally(I'm saying
personally to avoid a flame war), I'd lean towards Python. AFAIK it's
pygtk, wxPython, and pyQT modules are fairly stable, although I could
be wrong on that.

Perl AFAIK also has farly stable GUI modules, but writing
bad(unreadable) code is far too easy in Perl.

On 5/16/05, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote:
 Hi All,
 
 I'd like to do some desktop app development and I'm looking for others'
 thoughts on whether PHP-GTK is a suitable environment in which to work?
 
 Years ago I developed desktop apps in Access / VB6, but it's been long
 enough now, and VB in particular has changed so much in the intervening
 time, that I'd have to relearn these anyway, so it seems like a good time to
 either consolidate my PHP coding or to pick up some other language. Not to
 mention that Access is entirely despicable for any purpose, desktop app
 development included [1].
 
 I'm wondering if PHP-GTK is mature / featured enough to handle a relatively
 complex desktop app project, using features like table grids for displaying
 / editing data stored in a MySQL backend and so on.
 
 My other alternative is to bite the bullet and learn something like Java,
 though I assume my learning curve would be steeper and more time-consuming.
 I pick Java because a) Everyone Seems To Love Javatm, and b) there appear
 to be at least a couple of decent free Java IDEs available in NetBeans and
 Eclipse (and maybe others that I don't know about).
 
 In essence, I'm looking for a desktop app development environment that is
 featured, connects well to MySQL, and is relatively painless to learn. Java
 may not suit the last of those criteria, but I don't know enough about it at
 this point to be scared of it if it is painful to learn.
 
 Anyone have any thoughts to share about PHP-GTK and / or other desktop app
 development environments that might be more suitable? Freeness of
 development tools is a big plus to me in this, if that needs to be
 explicitly said.
 
 Much warmth,
 
 Murray
 
 [1] Just my opinion. I know I'd get a healthy argument from several
 developers that I know.
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP-GTK mailing list

2004-04-08 Thread Cosmin
sorry for the off topic but i didn't knew where to ask this. 
does anyone know what's happening with the php-gtk mailing list. I
haven't received a message for more than a month now and any message
that i try to send comes back saying 

Hi. This is the qmail-send program at pb1.pair.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
[EMAIL PROTECTED]:
Unable to open .qmail-php-gtk-general: access denied. (#4.3.0)
I'm not going to try again; this message has been in the queue too
long.


sorry again for the off topic but I hope that one of the persons who's
in charge of the php-gtk mailing list will read this message and
hopefully fix this problem

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP-GTK 0.5.2 released

2002-10-31 Thread Andrei Zmievski
To all crazy users of PHP-GTK,

Version 0.5.2 has been released (after a half a year hiatus). This
release has some bug fixes and also some minor feature enhancements,
mostly in the graphics area.

Download the releaes from;

http://gtk.php.net/download.php

Version 0.5.2 Bass does a body good 01-Nov-2002
~
- simplified GdkPixbuf constructor parameters. (Andrei)
- fixed setting of tile/stipple/clip_mask/bg_pixmap properties of
  GdkGC. (Andrei)
- implemented GdkPixbuf::fill(). (Andrei)
- changed failure to allocate color to output only a notice instead
  of a warning. (Andrei)
- made depth parameter of GdkPixmap constructor optional. (Andrei)
- added copy_area() method for drawables. (Andrei)
- added group() and set_group() methods for
  GtkRadioButton/GtkRadioMenuItem. (Andrei)
- added GDK functions pointer_grab(), pointer_ungrab(),
  keyboard_grab(), keyboard_ungrab(). (Andrei)
- added utf8 support to GtkRadioButton, GtkToggleButton,
  GtkCheckMenuItem, and GtkCheckButton. (Frank)
- fixed a crash bug when using non-string variables to access
  overloaded object's properties. (Andrei)
- fixed a crash bug in GtkCheckButton constructor. (Andrei)

Enjoy,

-Andrei   http://www.gravitonic.com/
* Reality isn't all it's cracked up to be. *

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP-GTK Question

2002-05-01 Thread Sebastian A.

Hello,

I have recently installed PHP-GTK with any problems, however I cannot get
it to work. When I click on the php_win shortcut I get an error saying:
Usage: php_win path to php-gtk script

Does anyone know how I can fix this and run my PHP-GTK scripts?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP-GTK 0.5.1 released

2002-04-27 Thread Andrei Zmievski

Hello, fans of GUI development!

PHP-GTK 0.5.1 also known as hardboiled wonderland has escaped from the
CVS holding pen. Be on the lookout. The identifying features are:

- changed gdkwindow::set_cursor() to allow reverting the cursor to
  default one. (Andrei)
- fixed gtk::input_add() for pre-streams PHP versions. (Andrei)
- adapted build system to work with the new PHP build system.
  (Andrei)
- made gtk::input_add() work with PHP streams. (Andrei)
- fixed gtkscintilla::marker_add() return type. (Alan)
- fixed property and method access on GdkBitmap. (Andrei)
- fixed a crash bug in gtkclist::append() when size of input was
  greater than the number of columns. (Markus)

Consider it armed with features and extremely addicting. More
information can be found at http://gtk.php.net/.

Cheers!

-Andrei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Php-gtk

2002-02-27 Thread Hunter, Ray

Try the php-gtk list.  [EMAIL PROTECTED]

I use this list all the time and they are great at answering questions...

Ray Hunter
Firmware Engineer

ENTERASYS NETWORKS


-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 26, 2002 7:38 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Php-gtk


I read the tutorial for it on the php-gtk site, but I didn't see a thing
about how to run it? 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Php-gtk

2002-02-27 Thread Henning Sprang

hy leif

Leif K-Brooks wrote:

 I read the tutorial for it on the php-gtk site, but I didn't see a thing
 about how to run it? 
 
 


this is not the list to discuss this, please subscribe to php-gtk-general.

btw, afaik in the introduction part of the manual installation and 
tunning are described.

please post further questions on the other list, there are lotta people 
who help very quick,

henning


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Php-gtk

2002-02-26 Thread Leif K-Brooks

I read the tutorial for it on the php-gtk site, but I didn't see a thing
about how to run it? 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php-gtk

2002-02-21 Thread Dasmeet Singh Arora

Hello! Can anyone tell me about sites where I can find some help and 
resources on PHP GTK. Is their any visual editor available for PHP GTK?
Thanks in advance.


















-- 



'The rose is sweetest washed with morning dew
  And love is loveliest when embalmed in tears'
  - Walter Scott
  __

  http://www.pluginJokes.com - Add Free Dynamic Jokes To Your Site.
  http://nitro.fedoxpress.com - Earn Money While You Surf The Net.
  http://www.fedoXpress.com - Free, Fast  Easy Email.
  http://freeads.fedoXpress.com - Advertise Your Site For Free.
  __



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] php-gtk

2002-02-21 Thread Hunter, Ray

I do not know of any editors for php-gtk.  Here is the general list:
[EMAIL PROTECTED]

website: http://gtk.php.net

Ray Hunter
Firmware Engineer

ENTERASYS NETWORKS


-Original Message-
From: Dasmeet Singh Arora [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 21, 2002 8:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php-gtk


Hello! Can anyone tell me about sites where I can find some help and 
resources on PHP GTK. Is their any visual editor available for PHP GTK?
Thanks in advance.


















-- 



'The rose is sweetest washed with morning dew
  And love is loveliest when embalmed in tears'
  - Walter Scott
  __

  http://www.pluginJokes.com - Add Free Dynamic Jokes To Your Site.
  http://nitro.fedoxpress.com - Earn Money While You Surf The Net.
  http://www.fedoXpress.com - Free, Fast  Easy Email.
  http://freeads.fedoXpress.com - Advertise Your Site For Free.
  __



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP-GTK version 0.5.0 released

2002-01-23 Thread Andrei Zmievski

Greetings!

I have released PHP-GTK version 0.5.0, also known as monday starts on
saturday. The version number was bumped from 0.1.1 to this one to
indicate that PHP-GTK is now a fairly mature and stable extension and
can be used for a variety of applications (just look on Freshmeat).

I would also like to take this opportunity and ask if you some of you
would consider helping out with PHP-GTK documentation. It would be a
great way to learn this exciting extension and also contribute to the
project.

The list of the major changes follows:

Version 0.5.0 monday starts on saturday 24-Jan-2002
~
- added new widgets with samples: GtkComboButton, GtkSPaned,
  GtkScrollPane and GtkPieMenu. (Markus)
- implemented GtkFontSelection::set_filter(),
  GtkFontSelectionDialog::set_filter(),
  Gtk::button_box_get_child_ipadding_default(),
  Gtk::button_box_get_child_size_default() and
  GtkWidget::get_pointer(). (Markus)
- implemented gdkpixbuf extension (loading and displaying images).
  (Andrei)
- added GtkCTree methods find_by_row_data, find_all_by_row_data.
  (Andrei)
- added gtkhtml extension which provides support for GtkHTML, an
  HTML rendering widget. (Alan Knowles)
- added GtkClist methods find_row_from_data(), get_pixmap().
  (Andrei)
- added GtkList::remove_items() method. (Andrei)
- added ability to build extensions as shared libraries and load
  them selectively. (Andrei)
- made libglade work on Win32 platforms. (Frank)
- added support for GtkSQPane widget. (Markus)
- added GtkCList::get_pixtext(). (Andrei, Rich Payne)

All the best!

-Andrei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] php-gtk compile prob

2002-01-03 Thread David Norman

I've been trying to compile php-gtk on slack 8 with php 4.1.1. I've
tried CVS and 0.1.1, but I get the following during make whether I use
./buildconf or phpize:

gen_gtk.c:1: parse error before `:'

I looked at ext/gtk+/gen_gtk.c, and there is one line:

usage: php -q generator.php [-o overridesfile] [-p prefix] [-c
functionclass] [-r typesfile] defsfile

I emptied the file to move on with compiling, but I get it again for
gen_gdk.c, followed by gen_*.c files for the other ext directories in
the php-gtk directory with the same usage: ... line in each of the
files with the error.

Any ideas what's up? I kinda wish now I could just go download a
precompiled .so somewhere and be done with it.

- deekayen

Get ready for a silly yahoo ad:

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php-gtk compile prob

2002-01-03 Thread Henning Sprang

Hy,
this is for [EMAIL PROTECTED], there you'll get answers I
think...





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Php-Gtk.....does it work ever?

2001-09-25 Thread Dhaval Desai

Hi!

I downloaded the Php-Gtk files for Windows 32 Binary
and I am trying to make it work on Windows 98. I
already have phpdev2 with Apahce, Mysql and Php
installed

phpdev2 is in C:\phpdev2

1. Now I downloaded php-gtk and I copied the files
from php4 folder to php directory.
2. Then I copied the files from Winnt directory to
C:\WINDOWS\SYSTEM32
3. I didn't copy php.ini file anywhere because...
C:\phpdev2\php\ already had a php.ini file.
4. Copied the sameples to the same folder as that of
Php C:\phpdev2\php\samples.


Now When I try to run the a sample file.eg.
C:\phpdev2\php\php_win.exe -q
C:\phpdev2\php\samples\hello.php


It doesn't do anything...it just comas back to the
command line in Dos Prompt

Is the thing installed properly..? How can we check it
and if it is installed why isn't the thing showing any
results...



Please reply to me...coz I am just making a beginning
with Php-Gtk



Thank You


Greetings!~
Dhaval

__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP-GTK v0.1 released

2001-08-01 Thread Andrei Zmievski

PHP-GTK version 0.1 the void which binds has been released. It can be
downloaded from http://gtk.php.net/. The changes in this version
include:

- added GDK keysyms constants. 
- fixed bug with GtkStyle::copy() that was not returning the result
  properly. 
- implemented support for struct based classes (GdkRectangle,
  GtkAllocation, GtkRequisition, etc). 
- finished drag-n-drop support. 
- ported Scribble example from C. 
- modified GdkWindow::get_pointer() to be simpler, without XInput
  support.
- changed 'area' event property to be a GdkRectangle. 
- changed 'is_hint' event property to be boolean. 
- added ability to query the state and allocation of a widget.
- added direct construction of pixmaps. 
- added GdkWindow::set_icon() method. 
- implemented GtkList methods insert_items() and prepend_items().
- implemented new PHP-like build system that supports adding
  extensions to
  PHP-GTK. 
- implemented GtkCTree methods node_get_pixtext(),
  node_get_pixmap(), and get_node_info().  
- implemented GtkObject::emit(), thus allowing programmatical
  emission of signals. 
- added support for accessing GtkObject arguments via get_arg() and
  set_arg() methods. 

-Andrei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP-GTK v0.0.4 released

2001-05-04 Thread Andrei Zmievski

Heads up, new release of PHP-GTK is available from http://gtk.php.net/.
The list of changes follows. The Win32 version maintainer hasn't put up
a build yet, if you are capable of making one just like 0.0.3 version,
please submit it and I will put it up.

Version 0.0.4 indistinguishable from magic: 05-May-2001
~
- improved speed/memory efficiency by having only one wrapper for
  boxed types, except for GdkEvent, GdkColor and GdkAtom. (Andrei)
- implemented object overloading emulation layer to correct for Zend
  engine's problems, now it's possible to assign and read custom
  properties on Gtk+ objects. (Andrei)
- added GtkAspectFrame class definition. (Andrei)
- added GtkCTree traversal functions. (Andrei)
- optimized internal resource handling, this should save on memory.
  (Andrei)
- fixed a bug that would corrupt object type when setting cascaded
  property.  (Andrei)
- added a few more properties to GtkCTree and GtkCList. (Andrei)
- implemented GtkMenu::popup(). (Andrei)
- fixed GtkCTree::insert_row() for good, added GtkCTree methods
  node_set_row_data() and node_get_row_data(). (Andrei)
- added helper GtkCListRow class. (Andrei)
- separated GdkWindow, GdkBitmap, GdkPixmap implementations to allow
  for more flexibility and clarity. (Andrei)
- implemented GtkObject methods get_data(), set_data,
  connect_after(), connect_object_after(). (Andrei)
- added several more widget examples to gtk.php. (Andrei)
- added ability to get and set color for GtkColorSelection. (Andrei)

-Andrei

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]