Skip to content
@gtkphp

GTK+PHP

Graphic Tool Kit + PHP

Welcome, Learn a little about GTK+PHP

<?php use Gtkml\Window as MainWindow; ?>
<!DOCTYPE application PUBLIC "-//PHP//DTD PHPML 1.0//EN" "http://www.php.net/TR/phpml1/DTD/phpml1.dtd">
<application id="demo" xmlns="http://www.php.net/2022/gtkml"
                       xmlns:xi="http://www.w3.org/2001/XInclude">
    <link rel="stylesheet" href="styles.css">
    <?php include "copyright.phpml"; ?>
    <main-window>
        <xi:include href="content.phpml"/>
    </main-window>
</application>

sapi/gui/php about.php


sapi/gui/php minimal.php


sapi/cli/php -f ExampleApplication.gtk
<?php
include "ExampleWindow.php"

$app = Gtk\Application::create($argc, $argv, "net.php.gtk");

$window = new ExampleWindow;

//Shows the window and returns when it is closed.
$status = $app->run($window);

exit($status);

@official http://gtk.php.net/ @see https://github.com/php/php-gtk-src

Pinned Loading

  1. php-sapi-gui-src php-sapi-gui-src Public

    PHP Graphic User Interface Module

    C 2 1

  2. php-ext-gtk-src php-ext-gtk-src Public

    PHP bindings for Gtk+

    C 1 1

  3. gtkphp.github.io gtkphp.github.io Public

    GTK+PHP Documentation

    HTML

  4. gtkphp gtkphp Public

    PHP 5 1

Repositories

Showing 10 of 16 repositories
  • php-src Public Forked from php/php-src

    The PHP Interpreter

    gtkphp/php-src’s past year of commit activity
    C 0 8,144 0 0 Updated Jan 31, 2024
  • php-src-gdb Public

    Debugging Helpers for QtCreator

    gtkphp/php-src-gdb’s past year of commit activity
    Python 1 0 2 0 Updated Jan 26, 2024
  • gtkphp.github.io Public

    GTK+PHP Documentation

    gtkphp/gtkphp.github.io’s past year of commit activity
    HTML 0 0 0 0 Updated Dec 10, 2023
  • gtkphp Public
    gtkphp/gtkphp’s past year of commit activity
    PHP 5 1 0 0 Updated Aug 9, 2023
  • php-ext-glib-src Public

    PHP bindings for GLib

    gtkphp/php-ext-glib-src’s past year of commit activity
    C 0 GPL-3.0 0 0 0 Updated Jun 27, 2023
  • zend-ext Public

    The binding generator.

    gtkphp/zend-ext’s past year of commit activity
    PHP 1 GPL-3.0 1 0 0 Updated Jun 13, 2023
  • zend-c Public

    The C code parser.

    gtkphp/zend-c’s past year of commit activity
    PHP 1 LGPL-2.1 1 0 0 Updated May 30, 2023
  • docker Public

    Docker Image packaging for GTK+PHP

    gtkphp/docker’s past year of commit activity
    0 0 0 0 Updated May 2, 2023
  • php-ext-doc-src Public

    PhpDoc Extension for parsing DocBlock

    gtkphp/php-ext-doc-src’s past year of commit activity
    0 0 0 0 Updated Dec 24, 2022
  • .github Public

    Github organization

    gtkphp/.github’s past year of commit activity
    0 0 0 0 Updated Apr 13, 2022

Top languages

Loading…

Most used topics

Loading…