!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/doc/python-gtkglext1/examples/   drwxr-xr-x
Free 129.91 GB of 142.11 GB (91.42%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     scribble-gl.py (2.01 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env python

'''
scribble-gl.py

A simple example to demonstrate the use of PyGtkGLExt library.
This program is functionally equivalent to the PyGtk program
scribble.py except all the drawing here is done using OpenGL.
Hence the name scribble-gl.py.

Alif Wahid, <awah005@users.sourceforge.net>
August 2003.
'''

import gc

import pygtk
pygtk.require('2.0')
from gtk.gtkgl.apputils import *

from scribble import Scribble

class ScribbleGLDemo (gtk.Window):
    ''' A window enabling the user to
    scribble on a white background.
    '''
    def __init__ (self):
        gtk.Window.__init__(self)

        # Some gtk.Window properties.
        self.set_title('Scribble-GL')
        self.set_position(gtk.WIN_POS_CENTER)
        self.set_border_width(5)
        self.connect("destroy", self.__quit_cb)

        # A VBox to pack everything.
        self.vbox = gtk.VBox(spacing=3)
        self.vbox.show()
        self.add(self.vbox)

        # The Scribble scene and the GLArea
        # widget to display it.
        self.scene = Scribble()
        self.glarea = GLArea(self.scene)
        self.glarea.set_size_request(250,200)
        self.vbox.pack_start(self.glarea)
        self.glarea.show()

        # A button for clearing the screen.
        self.cls_button = gtk.Button("Clear Screen")
        self.vbox.pack_start(self.cls_button, expand=False, fill=False)
        self.cls_button.connect("clicked", self.__clear_screen)
        self.cls_button.show()

        # A quit button.
        self.quit_button = gtk.Button("Quit")
        self.vbox.pack_start(self.quit_button, expand=False, fill=False)
        self.quit_button.connect("clicked", lambda quit: self.destroy())
        self.quit_button.show()

    def __quit_cb (self, object):
        gtk.main_quit()
        gc.collect()

    def __clear_screen (self, widget):
        self.scene.clear_all_brush_strokes()
        self.glarea.queue_draw()

    def run (self):
        self.show()
        gtk.main()


if __name__ == '__main__':
    glapp = ScribbleGLDemo()
    glapp.run()

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0117 ]--