Example #1
0
class MyScreen(wmanager.Screen, color.Color, modewindow.ModeWindowScreen,
               modestatus.ModeStatus, modestatus.ModeMoveResize,
               views.XMW_ViewHandler, modestatus.ModeFocusedTitleScreen):
    """Example screen class

    This class adds support for colors(FIXME), views, and a mode window, and
    adds support to the mode window for displaying status(FIXME: clarify),
    movement and resizing information, the current view, and the title of the
    currently-focused window.

    """
    view_always_visible_clients = f.Or(cf.name('XClock'), cf.name('XBiff'))
Example #2
0
 def F8(self, evt):
     self.wm.current_screen.view_find_with_client(
         f.Or(cf.name('Vmware'), cf.name('Vmplayer')))
Example #3
0
 def F3(self, evt):
     self.wm.current_screen.view_find_with_client(
         f.Or(cf.name('Firefox-bin'), cf.name('Firefox')))
Example #4
0
 def F4(self, evt):
     self.wm.current_screen.view_find_with_client(
         f.Or(cf.name('xpdf'), cf.name('soffice'),
              cf.re_name('^OpenOffice.org'), cf.name('AcroRead'),
              cf.name('evince')))
Example #5
0
 def F1(self, evt):
     self.wm.current_screen.view_find_with_client(
         f.Or(cf.name('rxvt'), cf.name('xterm')))