 |
| View previous topic :: View next topic |
| Author |
Message |
Vorash
Joined: 23 Oct 2006 Posts: 4
|
Posted: Mon Oct 23, 2006 11:10 pm Post subject: GtkRadioButton + A few Questions |
|
|
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  |
|
| Back to top |
|
 |
cohort
Joined: 07 Feb 2006 Posts: 47
|
Posted: Mon Oct 23, 2006 11:39 pm Post subject: |
|
|
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
|
Posted: Tue Oct 24, 2006 10:41 am Post subject: |
|
|
| Thanks |
|
| Back to top |
|
 |
|
|
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
|
|
 |