Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghostjat/gtk
php ffi gtk
https://github.com/ghostjat/gtk
ffi gtk3 gui php
Last synced: 3 months ago
JSON representation
php ffi gtk
- Host: GitHub
- URL: https://github.com/ghostjat/gtk
- Owner: ghostjat
- License: lgpl-2.1
- Created: 2021-11-13T11:40:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T20:35:05.000Z (about 2 years ago)
- Last Synced: 2024-10-10T22:17:12.489Z (3 months ago)
- Topics: ffi, gtk3, gui, php
- Language: C
- Homepage:
- Size: 183 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gtk - Gui Toolkit Bindings for php
================================================Gtk written in pure php using FFI_.
**Development Status:**
WARNING: API is unstable
WARNING: Lots of things are not implemented/supported.See the 'examples' directory for working examples.
Anything else will probably not work.**Code:** https://github.com/ghostjat/gtk
**License:** LGPL 2.1+
**Requirements:**
- php_ 7.4+
- FFI_.. _ffi: https://www.php.net/manual/en/class.ffi
.. _php: http://www.php.net/INSTALL
-------
composer require ghostjat/gtkUsage
-----```require dirname(__DIR__).'/vendor/autoload.php';
use gtk\core;
use gtk\window;
use gtk\webView;$window = new window();
$window->set_title('php-webkit');
$window->set_default_size(400, 240);
$webview = new webView();
$window->add($webview);
$webview->loadURL('https://github.com/ghostjat/gtk');
$window->show_all();
$window->connect('destroy', function(){
core::main_quit();
});
core::main();
```Search paths
~~~~~~~~~~~~TODO
Documentation
-------------
TODO