File: whitelist.py

package info (click to toggle)
rednotebook 2.39%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,956 kB
  • sloc: python: 9,570; javascript: 4,103; xml: 128; sh: 58; makefile: 11
file content (62 lines) | stat: -rw-r--r-- 923 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import gettext
import os.path
import sys

import gi


gi.require_version("Gtk", "3.0")


class Dummy:
    def __getattr__(self, _):
        pass


gettext.install("dummy")

DIR = os.path.dirname(os.path.abspath(__file__))
BASE_DIR = os.path.dirname(DIR)

sys.path.insert(0, BASE_DIR)

from rednotebook.journal import Journal


Journal.do_activate
Journal.do_command_line
Journal.do_startup

from gi.repository import Gtk


cell = Gtk.CellRendererText()
cell.props.wrap_mode

Dummy()._get_content
Dummy()._set_content
Dummy()._get_text
Dummy()._set_text
Dummy().insert_handler_wrapper

# CEF Browser
from ctypes import _CFuncPtr


_CFuncPtr.argtypes
_CFuncPtr.restype
Dummy().OnBeforeBrowse
sys.excepthook

Dummy().commandline_help
Dummy().greeting
Dummy().intro
Dummy().help_par
Dummy().preview_par
Dummy().tags_par
Dummy().temp_par
Dummy().save
Dummy().save_par
Dummy().error_par
Dummy().goodbye_par
Dummy().example_entry