|
|
|
html_to_pango(html)
Simple html to pango stripper. |
source code
|
|
|
get_autostart_dir()
Returns the system autostart directory |
source code
|
|
|
is_manager_running_me()
checks if the one starting the screenlet is the screenlets manager |
source code
|
|
|
containsAll(str,
set)
Check whether 'str' contains ALL of the chars in 'set' |
source code
|
|
|
containsAny(str,
set)
Check whether 'str' contains ANY of the chars in 'set' |
source code
|
|
|
create_autostarter(name)
Create a .desktop-file for the screenlet with the given name in
$HOME/.config/autostart. |
source code
|
|
|
delete_autostarter(name)
Delete the autostart for the given screenlet. |
source code
|
|
|
get_screenlet_linux_name_by_class_path(path)
Returns screenlet name on form 'foobar-screenlet' by main screenlet
class file path. |
source code
|
|
|
get_screenlet_linux_name_by_class_name(name)
Returns screenlet name on form 'foobar-screenlet' by screenlet class
name. |
source code
|
|
|
get_screenlet_linux_name_by_short_class_name(name)
Returns screenlet name on form 'foobar-screenlet' by shortened
screenlet class name. |
source code
|
|
|
is_screenlets_ppa_enabled()
Detect if Screenlets default PPA is enabled on system. |
source code
|
|
|
get_translator(path)
Returns translator by screenlet class path from __file__. |
source code
|
|
|
_contains_path(string)
Internal function: Returns true if the given string contains one of
the Screenlets paths. |
source code
|
|
|
create_user_dir()
Create the userdir for the screenlets. |
source code
|
|
|
|
|
get_screenlet_icon(screenlet_name,
width,
height) |
source code
|
|
|
|
|
|
|
|
|
|
|
list_available_screenlets()
Scan the Screenlets paths for all existing screenlets and return
their names (without trailing "Screenlet") as a list of
strings. |
source code
|
|
|
|
|
|
|
get_screenlet_process(name)
Returns the PID of the given screenlet (if running) or None. |
source code
|
|
|
get_user_dir(key,
default)
http://www.freedesktop.org/wiki/Software/xdg-user-dirs |
source code
|
|
|
get_daemon_iface()
Check if the daemon is already running and return its interface. |
source code
|
|
|
|
|
get_filename_on_drop(sel_data)
Returns filenames of window droped files |
source code
|
|
|
|
|
|
|
quit_screenlet_by_name(name)
Quit all instances of the given screenlet type. |
source code
|
|
|
|
|
|
|
|
|
|
|
strip_html(string)
Strips HTML tags of a string |
source code
|
|
|
lookup_daemon_autostart()
Adds Screenlets-daemon to autostart if not already |
source code
|
|
|
launch_screenlet(screenlet)
Launches a screenlet |
source code
|
|
|
|