17 feb. 2010 : PHP-GTK Application descriptions can now be submitted in Brazilian Portuguese too. Thanks Bruno Bandeira !.

German and Italian still missing: who will contribute the translated categories for these languages ? Contact the team to offer your translations !

Community

[Forum] Re:Prevent Application to be started more than once

KKsou - Tue, 19/01/2010 - 22:37
Hi Hilde, A very primitive method I could think of is: 1) Use a temp file, say, \"/tmp/app_is_running\", as a flag 2) In your first line of app, test if the file \"/tmp/app_is_running\" is there. If it\'s there, it means there\'s already an instance running. Stop and quit. 3) If it\'s not there, it means there\'s no other instance running. So proceed, and immediately in the ...


Categories: Community

WebSockets Rule!

Crisscott - Tue, 19/01/2010 - 04:46
Wow. It has been a ridiculously long time since I have posted anything. I used to post a lot about PHP-GTK, but in the last two years I have moved on to more exciting topics. What could be more exciting than PHP-GTK you say?! Well, WebSockets, of course. WebSockets are part of the emerging HTML5 spec. They offer a full-duplex socket connection between the user’s browser and the web server. The server is able to talk to the browser instead of just answering questions. No more polling with Ajax, asking the server every 30 seconds if anything has changed. When something [...]
Categories: Community

[Forum] Prevent Application to be started more than once

KKsou - Tue, 19/01/2010 - 04:05
Hello, is it possible to prevent that a php-gtk Application is started twice? Or, during start, to check if the Application Process is already running? Thanks, Hilde


Categories: Community

[Forum] gtkhtml question

KKsou - Thu, 14/01/2010 - 02:58
Hi, I have been successfully running the GTKHTML samples from this site (and having some fun writing my own). From: Sample Code 318: How to create a php gtk browser using gtkhtml - Part 2 - click on links? comes this code: $gtkhtml->connect(\'link-clicked\', \'on_link_clicked\' ); function on_link_clicked($gtkhtml, $url) { global $url_entry, $go_button; $url_entry->set_text($url); // note 2 $go_button->clicked(); // ...


Categories: Community

[Forum] Re:about mobile application

KKsou - Tue, 12/01/2010 - 23:12
thnk u for reply.. so sory.. but i mean 2 say mobie phone applications.. is tht posible 2 make php-gtk application tht can run on mobile phones.. & if yes.. then how.??


Categories: Community

[Forum] Re:about mobile application

KKsou - Tue, 12/01/2010 - 08:44
[b]vipul wrote:[/b] You need to be more specific for people to answer your question. What do you mean by mobile application? On which platform? Netbook? Mobile phone? And what kind of application do you have in mind? Online chat? Photo? Video? Anyway, I\'m more familiar with writing php-gtk2 applications. But when it comes to platform specific questions, I would suggest that you post the question ...


Categories: Community

[Forum] Re:about mobile application

KKsou - Tue, 12/01/2010 - 05:55
hey please help me for that i have 2 make prsentation on php-gtk mobile application....


Categories: Community

[Forum] Re:about mobile application

KKsou - Mon, 11/01/2010 - 06:12
hey..Dude..!! on my point of view.. Mobile Application in PHP can b made by HAWHAW tht is Html And Wml Hybrid Adapted Webserver..!! if any one know abt PHP-GTK then i m also ager 2 know.. abt moblie application made by PHP-GTK.. regard -Anks


Categories: Community

[Forum] about mobile application

KKsou - Mon, 11/01/2010 - 06:06
hey guys..!!!! can any one inform me.. is tht possible 2 make mobile application by php-gtk.??? if yes then how..??? plz help me.. waiting 4 reply.. thnx -Vipul


Categories: Community

[Forum] Color of GTK Mene Item while Mouse Over

KKsou - Fri, 08/01/2010 - 14:08
Hi! I am a beginner in PHP-GTK and trying to change the color of menu items. but could not find a way or helping material. In my application when suppose \"Quit Menu Item\" has the focus, white color covers it all. I want to change this color so that the label is visible also while it is focused. Could anyone please guide? thx


Categories: Community

[Forum] Re:Sending a signal

KKsou - Thu, 07/01/2010 - 18:40
Hi John, I think you can manually generate a signal in gtk+, but not in PHP-GTK2. However, you can still achieve similar effect as follows: 1) Suppose your GtkEntry \"key-release-event\" event calls the function fn_percent() or fn_pount(). 2) Register the signal \"toggled\" on the radio button. 3) When the user clicks any of the radio button, in the callback function for the \'toggled\' signal, calls your function ...


Categories: Community

[Forum] Sending a signal

KKsou - Thu, 07/01/2010 - 16:48


Categories: Community

[Forum] Column Widths

KKsou - Mon, 23/11/2009 - 16:52
Hi, I am new to this so I realise that I may be approaching this in the wrong way: I am trying to set the widths of columns on a gtktable. i have done this with a gtkbox inside the cell and using set_size_request. The width is based on the window size, however the width doesn\'t change on alteration of the window. How can I acomplish ...


Categories: Community

[Forum] Re:google currency converter ajax version problem

KKsou - Sun, 22/11/2009 - 18:38
Most reputable hosts allow this. It\'s just a setting in php.ini. Otherwise, please refer to the article where you download the module. You have the other option using PHP\'s cURL library. Regards, /kksou


Categories: Community

[Forum] Re:google currency converter ajax version problem

KKsou - Sun, 22/11/2009 - 11:35
and if my host doesn\'t allow, is there an alternative? or it renders this module useless? please help.


Categories: Community

[Forum] Re:google currency converter ajax version problem

KKsou - Sun, 22/11/2009 - 11:13
Hi, Please check with your host. Your host might not allow access of url from within fread() or file_get_contents(). Regards, /kksou


Categories: Community

[Forum] google currency converter ajax version problem

KKsou - Tue, 17/11/2009 - 02:59
hello guys, i downloaded google currency converter ajax version problem from joomla extensions directory. but i cant get it to work on the actual site. it works and converts alright in local host. in the actual site, it loads till infinity. please help...i need this. thanks in advance.


Categories: Community

[Forum] Re:gtkhtml

KKsou - Wed, 04/11/2009 - 02:05
Thanks for your response, kksou. > Out of curiosity, why do you put a php-cli.ini in c:\\windows? I\'m asking myself the same question. It must be something I tried when I was less experienced than I am now. Will delete the file right away ! >Your method is similar to the one outlined in: >Sample Code 474: How to display html text using gtkhtml - Part 2? That\'s exactly ...


Categories: Community

[Forum] Re:gtkhtml

KKsou - Tue, 03/11/2009 - 10:11
Your method is similar to the one outlined in: [url=http://www.kksou.com/php-gtk2/articles/display-html-text-using-gtkhtml---Part-2.php]Sample Code 474: How to display html text using gtkhtml - Part 2?[/url] If you don\'t use pclose(), when the program ends, I think it will automatically do a pclose(). This is similar to fopen(). If you don\'t do a fclose(), the program will do it for you when it ends. Regards, /kksou


Categories: Community

[Forum] Re:gtkhtml

KKsou - Tue, 03/11/2009 - 10:06
Thanks much for sharing. I think it will save other people facing the sample problem as you a lot of time. Out of curiosity, why do you put a php-cli.ini in c:\\windows? Most people place the php-cli.ini or php.ini in the folder where your php-gtk is. As mentioned earlier, most people do not put php-cli.ini in c:\\windows. When you don\'t put php-cli.ini in c:\\windows, you can ...


Categories: Community
Syndicate content