Exemple #1
0
    def _setup_record_3d(self):
        record_3d = gtk.CheckMenuItem(_("Record _3D"))
        record_3d.set_name("record_3d")
        self.popupmenu.add(record_3d)

        new_widget = Widget(record_3d)
        new_widget.events["gui"] = new_widget.preference.generate_gui_event(record_3d, None)
        new_widget.events["gconf"] = new_widget.preference.generate_gconf_event(new_widget)
        Widgets.widgets[str(new_widget.name)] = new_widget
        self.tooltips.set_tip(record_3d,
            _("Tick this if you want to screencast a 3d application.  This will however take more CPU power."))
Exemple #2
0
    def _setup_record_pointer(self):
        record_mousepointer = gtk.CheckMenuItem(_("Record _Mouse Pointer"))
        record_mousepointer.set_name("record_mousepointer")
        self.popupmenu.add(record_mousepointer)

        new_widget = Widget(record_mousepointer)
        new_widget.events["gui"] = new_widget.preference.generate_gui_event(record_mousepointer, None)
        new_widget.events["gconf"] = new_widget.preference.generate_gconf_event(new_widget)
        Widgets.widgets[str(new_widget.name)] = new_widget
        self.tooltips.set_tip(record_mousepointer,
            _("Tick this if you want to record the mouse pointer during the screencast."))
Exemple #3
0
 def _setup_record_sound(self):
     record_sound = gtk.CheckMenuItem(_("Record _Sound"))
     record_sound.set_name("record_sound")
     self.popupmenu.add(record_sound)
     
     new_widget = Widget(record_sound)
     new_widget.events["gui"] = new_widget.preference.generate_gui_event(
         record_sound, None)
     new_widget.events["gconf"] = new_widget.preference.generate_gconf_event(
         new_widget)
     Widgets.widgets[str(new_widget.name)] = new_widget
     self.tooltips.set_tip(record_sound,
         _("Tick this if you want to record audio with the screencast.  You can choose the audio device to record from in the Multimedia Systems Selector in Preferences."))