1
# This file is part of Checkbox.
3
# Copyright 2012 Canonical Ltd.
5
# Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
7
# Checkbox is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License version 3,
9
# as published by the Free Software Foundation.
11
# Checkbox is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with Checkbox. If not, see <http://www.gnu.org/licenses/>.
19
:mod:`checkbox_touch` -- touch specific APIs
20
============================================
22
This module contains APIs specific to the implementation of checkbox-touch.
25
from gettext import gettext as _
31
("Please don't try to import or this module directly,"
32
" it only works when imported from QML"))
35
def get_welcome_text():
37
Get the replacement for the "Welcome text" message
39
return _("Welcome text (python loaded)")
42
# NOTE: this is just an example, it's not really needed for anything
43
pyotherside.send("python-core-loaded")