gnope php gtk gui gnope.org  

GtkRadioButton + A few Questions

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
Vorash



Joined: 23 Oct 2006
Posts: 4

PostPosted: Mon Oct 23, 2006 11:10 pm    Post subject: GtkRadioButton + A few Questions Reply with quote

Hey Guys,

How can I select a radio button by code. So say I have 3 radio buttons, A, B, and C, if I was to select B, that would then be enabled. Is there anyway to do that by code. So lets say I wanted to reset the application to it's default state, and the default radio button is A, how would I make it select that one?

Can a tray icon be done using PHP GTK?

How could I save settings? Could I use SQLite? Is that already bundled in?

I'm very new to PHP GTK, so am not sure what is possible with it yet.

Cheers Smile
Back to top
cohort



Joined: 07 Feb 2006
Posts: 47

PostPosted: Mon Oct 23, 2006 11:39 pm    Post subject: Reply with quote

You have to install the SQLite (dll/so) in order to use it, it's not "bundled".

For windows, download php_sqlite.dll & php_pdo_sqlite.dll into your "ext" dir (by default, "C:\php-gtk2\ext\") and enable "extension=php_sqlite.dll" in the php.ini.

If you're just saving basic config data, consider PEAR's "Config" package.

I don't have answers for your other questions, though.
Back to top
Vorash



Joined: 23 Oct 2006
Posts: 4

PostPosted: Tue Oct 24, 2006 10:41 am    Post subject: Reply with quote

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.