Back to index

system-config-printer  1.3.9+20120706
Classes | Functions | Variables
gtkinklevel Namespace Reference

Classes

class  GtkInkLevel

Functions

def adjust_level

Variables

tuple w = gtk.Window()
tuple vbox = gtk.VBox(spacing=6)
tuple hbox = gtk.HBox(spacing=6)
tuple klevel = GtkInkLevel("black", level=100)
tuple clevel = GtkInkLevel("cyan", level=60)
tuple mlevel = GtkInkLevel("magenta", level=30)
tuple ylevel = GtkInkLevel("yellow", level=100)

Function Documentation

def gtkinklevel.adjust_level (   level)

Definition at line 123 of file gtkinklevel.py.

00123 
00124     def adjust_level (level):
00125         gtk.gdk.threads_enter ()
00126         l = level.get_level ()
00127         l += 1
00128         if l > 100:
00129             l = 0
00130         level.set_level (l)
00131         gtk.gdk.threads_leave ()
00132         return True


Variable Documentation

tuple gtkinklevel.clevel = GtkInkLevel("cyan", level=60)

Definition at line 140 of file gtkinklevel.py.

tuple gtkinklevel.hbox = gtk.HBox(spacing=6)

Definition at line 137 of file gtkinklevel.py.

tuple gtkinklevel.klevel = GtkInkLevel("black", level=100)

Definition at line 139 of file gtkinklevel.py.

tuple gtkinklevel.mlevel = GtkInkLevel("magenta", level=30)

Definition at line 141 of file gtkinklevel.py.

tuple gtkinklevel.vbox = gtk.VBox(spacing=6)

Definition at line 135 of file gtkinklevel.py.

tuple gtkinklevel.w = gtk.Window()

Definition at line 133 of file gtkinklevel.py.

tuple gtkinklevel.ylevel = GtkInkLevel("yellow", level=100)

Definition at line 142 of file gtkinklevel.py.