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'))
def F8(self, evt): self.wm.current_screen.view_find_with_client( f.Or(cf.name('Vmware'), cf.name('Vmplayer')))
def F3(self, evt): self.wm.current_screen.view_find_with_client( f.Or(cf.name('Firefox-bin'), cf.name('Firefox')))
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')))
def F1(self, evt): self.wm.current_screen.view_find_with_client( f.Or(cf.name('rxvt'), cf.name('xterm')))