Giter Site home page Giter Site logo

galaxyjim / pywidget3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sankluj/pywidget

1.0 1.0 0.0 450 KB

A set of GUI tools for Python and Pyglet. It integrates into your event loop and your event handler

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

pywidget3's People

Contributors

sankluj avatar

Stargazers

 avatar

Watchers

 avatar

pywidget3's Issues

implement a canvas

not strictly necessary,
since it is running inside an opengl app,
but it would be useful.

documentation: step by step tutorial

install python 3.4
install pyglet
install PyWidget3

import pyglet
create pyglet window
create widgets
create a main widget (... could be a hbox or vbox or dialog....)
add main widget to pyglet draw code
add main widget to pylet event handlers

only one event handler per opengl/os window )
otherwise overlapping windows will not work correctly.

create a roadmap

break issues and enhancements into manageable chunks, and make a plan for releases.
use milestones and labels

windows, such as the combobox, can be on the wrong layer

add a parent to the constructor.
so that when a combo box is selected,
or a when a dialog gains focus, it can ask its parent to move it to the top.

the _elements member will need to be changed from a dictionary to a sorted dictionary

create an edit box

need to be able to enter and edit simple text,
write a test/sample and
document it

add colors to the shapes

update shape support.
no need to change much,
more in-depth drawing support would be handled by drawing with pyglet in the canvas widget

faq

download,
getting started,
samples

create a plain container widget

create a container width,
for use as a main window

similar to hbox or vbox,
but doesn't impose a layout.

it only serves to unify the draw and mouse events
to support overlapped windows.

document it.
add to test programs.

Create a main page.

replace current readme.md with a good start page.
create a good start page for the wiki, too

write more samples.

more samples, particularly with new colors
and with 3d content handled by pyglet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.