Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghostjat/php-iup
php binding for IUP toolkit
https://github.com/ghostjat/php-iup
ffi gui iup iup-toolkit php php-ffi php-ffi-experiment php-iup php7 php74 php8
Last synced: 3 months ago
JSON representation
php binding for IUP toolkit
- Host: GitHub
- URL: https://github.com/ghostjat/php-iup
- Owner: ghostjat
- License: apache-2.0
- Created: 2019-11-24T08:31:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-30T04:14:21.000Z (over 3 years ago)
- Last Synced: 2024-09-29T20:01:29.391Z (3 months ago)
- Topics: ffi, gui, iup, iup-toolkit, php, php-ffi, php-ffi-experiment, php-iup, php7, php74, php8
- Language: C
- Homepage:
- Size: 563 KB
- Stars: 23
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-iup ![IUP Logo](logo_32x32.png)
php-ffi experiment
=========
php7.4 interface to the IUP toolkit for building GUI's.Description
-----------
[IUP-Toolkit](http://www.tecgraf.puc-rio.br/iup)IUP is a multi-platform toolkit for
building graphical user interfaces. IUP's purpose is to allow a program
source code to be compiled in different systems without any modification.
Its main advantages are:* It offers a simple API.
* High performance, due to the fact that it uses native interface elements.
* Fast learning by the user, due to the simplicity of its API.Synopsis
--------
WARNING:
This module is in its early stages and should be considered a Work in Progress.
The interface is not final and may change in the future.Sample GUI:
Sample code:
```text(null);
$vbox = $iup->vbox($multiText);
$iup->setAttribute($multiText, "MULTILINE", "YES");
$iup->setAttribute($multiText, "EXPAND", "YES");
$dlg = $iup->dialog($vbox);
$iup->setAttribute($dlg, 'TITLE', 'php-iup');
$iup->setAttribute($dlg, 'SIZE', 'QUARTERxQUARTER');
$iup->showXY($dlg, $iup::IUP_CENTER, $iup::IUP_CENTER);
$iup->setAttribute($dlg, 'USERSIZE', null);
$iup->mainLoop();
$iup->close();
```
Author
------
Shubham Chaudhary