Functions

  cclosure_marshal_VOID__BOXED_ENUM (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__INT_INT_ULONG (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__INT_OBJECT (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__INT_STRING (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__POINTER_OBJECT (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__STRING_BOXED (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__STRING_INT (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__STRING_INT_STRING (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  cclosure_marshal_VOID__STRING_POINTER (closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
  check_autogen ()
  convert_error_quark ()
  convert_from_utf8 (content, len, encoding, new_len)
  convert_to_utf8 (content, len, encoding, new_len)
  encoding_get_current ()
  encoding_get_from_charset (charset)
  encoding_get_from_index (index)
  encoding_get_utf8 ()
  pkg_config_get_version (package)
  pkg_config_ignore_package (name)
  plugin_description_parse_error_quark ()
  plugin_manager_error_quark ()
  profile_error_quark ()
  res_get_data_dir ()
  res_get_data_file (pixfile)
  res_get_doc_dir ()
  res_get_doc_file (docfile)
  res_get_help_dir ()
  res_get_help_dir_locale (locale)
  res_get_help_file (helpfile)
  res_get_help_file_locale (helpfile, locale)
  res_get_pixmap_dir ()
  res_get_pixmap_file (pixfile)
  res_help_search (word)
  res_url_show (url)
  shell_error_quark ()
  util_color_from_string (val, r, g, b)
  util_convert_to_utf8 (str)
  util_copy_file (src, dest, show_error)
  util_create_dir (d)
  util_dialog_input (parent, label, default_value, value)
  util_diff (uri, text)
  util_escape_quotes (str)
  util_execute_shell (dir, command)
  util_execute_terminal_shell (dir, command)
  util_file_new_for_commandline_arg (arg)
  util_get_a_tmp_file ()
  util_get_current_dir ()
  util_get_file_info_mime_type (info)
  util_get_file_mime_type (file)
  util_get_local_path_from_uri (uri)
  util_get_real_path (path)
  util_get_user_mail ()
  util_help_display (parent, doc_id, item)
  util_install_files (names)
  util_is_project_file (filename)
  util_is_template_file (filename)
  util_package_is_installed (lib, show)
  util_parse_args_from_string (string)
  util_prog_is_installed (prog, show)
  util_replace_home_dir_with_tilde (uri)
  util_set_anjuta_prefix (name)
  util_set_user_mail (id)
  util_shell_expand (string)
  util_str_middle_truncate (string, truncate_length)
  util_string_from_color (r, g, b)
  util_string_from_type (map, type)
  util_type_from_string (map, str)
  util_uri_get_dirname (uri)
  util_user_shell ()
  util_user_terminal ()

Details

Anjuta.cclosure_marshal_VOID__BOXED_ENUM(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__INT_INT_ULONG(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__INT_OBJECT(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__INT_STRING(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__POINTER_OBJECT(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__STRING_BOXED(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__STRING_INT(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__STRING_INT_STRING(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.cclosure_marshal_VOID__STRING_POINTER(closure, return_value, n_param_values, param_values, invocation_hint, marshal_data)
Parameters:
Anjuta.check_autogen()
Returns:True if autogen is installed.
Return type:bool

Check if autogen version 5 is installed.

Anjuta.convert_error_quark()
Return type:int
Anjuta.convert_from_utf8(content, len, encoding, new_len)
Parameters:
Raises:

GLib.Error

Return type:

str

Anjuta.convert_to_utf8(content, len, encoding, new_len)
Parameters:
Raises:

GLib.Error

Return type:

str

Anjuta.encoding_get_current()
Return type:Anjuta.Encoding
Anjuta.encoding_get_from_charset(charset)
Parameters:charset (str) –
Return type:Anjuta.Encoding
Anjuta.encoding_get_from_index(index)
Parameters:index (int) –
Return type:Anjuta.Encoding
Anjuta.encoding_get_utf8()
Return type:Anjuta.Encoding
Anjuta.pkg_config_get_version(package)
Parameters:package (str) –
Return type:str
Anjuta.pkg_config_ignore_package(name)
Parameters:name (str) –
Return type:bool
Anjuta.plugin_description_parse_error_quark()
Return type:int
Anjuta.plugin_manager_error_quark()
Return type:int
Anjuta.profile_error_quark()
Return type:int
Anjuta.res_get_data_dir()
Return type:str
Anjuta.res_get_data_file(pixfile)
Parameters:pixfile (str) –
Return type:str
Anjuta.res_get_doc_dir()
Return type:str
Anjuta.res_get_doc_file(docfile)
Parameters:docfile (str) –
Return type:str
Anjuta.res_get_help_dir()
Return type:str
Anjuta.res_get_help_dir_locale(locale)
Parameters:locale (str) –
Return type:str
Anjuta.res_get_help_file(helpfile)
Parameters:helpfile (str) –
Return type:str
Anjuta.res_get_help_file_locale(helpfile, locale)
Parameters:
  • helpfile (str) –
  • locale (str) –
Return type:

str

Anjuta.res_get_pixmap_dir()
Return type:str
Anjuta.res_get_pixmap_file(pixfile)
Parameters:pixfile (str) –
Return type:str
Parameters:word (str) –
Anjuta.res_url_show(url)
Parameters:url (str) –
Anjuta.shell_error_quark()
Return type:int
Anjuta.util_color_from_string(val, r, g, b)
Parameters:
Anjuta.util_convert_to_utf8(str)
Parameters:str (str) –
Return type:str
Anjuta.util_copy_file(src, dest, show_error)
Parameters:
  • src (str) – the file where copy
  • dest (str) – the path to copy the src
  • show_error (bool) – True to show a dialog error
Returns:

True if there was an error copying the file.

Return type:

bool

Copies src to dest and shows a dialog error in case is needed.

Anjuta.util_create_dir(d)
Parameters:d (str) –
Return type:bool
Anjuta.util_dialog_input(parent, label, default_value, value)
Parameters:
Return type:

bool

Anjuta.util_diff(uri, text)
Parameters:
  • uri (str) –
  • text (str) –
Return type:

bool

Anjuta.util_escape_quotes(str)
Parameters:str (str) –
Return type:str
Anjuta.util_execute_shell(dir, command)
Parameters:
  • dir (str) –
  • command (str) –
Return type:

int

Anjuta.util_execute_terminal_shell(dir, command)
Parameters:
  • dir (str) –
  • command (str) –
Return type:

int

Anjuta.util_file_new_for_commandline_arg(arg)
Parameters:arg (str) – URI or relative or absolute file path
Returns:A new Gio.File object
Return type:Gio.File

Create a new file corresponding to arg, unlike Gio.File.new_for_commandline_arg, keeps symbolic links in path name.

Anjuta.util_get_a_tmp_file()
Return type:str
Anjuta.util_get_current_dir()
Returns:The current working directory.
Return type:str

Get current working directory, unlike GLib.get_current_dir, keeps symbolic links in path name.

Anjuta.util_get_file_info_mime_type(info)
Parameters:info (Gio.FileInfo) –
Return type:str
Anjuta.util_get_file_mime_type(file)
Parameters:file (Gio.File) –
Return type:str
Anjuta.util_get_local_path_from_uri(uri)
Parameters:uri (str) –
Return type:str
Anjuta.util_get_real_path(path)
Parameters:path (str) –
Return type:str
Anjuta.util_get_user_mail()
Return type:str
Anjuta.util_help_display(parent, doc_id, item)
Parameters:
Anjuta.util_install_files(names)
Parameters:names (str) –
Return type:bool
Anjuta.util_is_project_file(filename)
Parameters:filename (str) – the file name
Returns:True if the file is a project file, else False
Return type:bool

Return True if the file is an anjuta project file. It is implemented by checking only the file extension. So it does not check the existence of the file. But it is working on an URI if it does not containt a fragment.

Anjuta.util_is_template_file(filename)
Parameters:filename (str) – the file name
Returns:True if the file is a template file, else False
Return type:bool

Return True if the file is an template project file. It is implemented by checking only the file extension. So it does not check the existence of the file. But it is working on an URI if it does not containt a fragment.

Anjuta.util_package_is_installed(lib, show)
Parameters:
Return type:

bool

Anjuta.util_parse_args_from_string(string)
Parameters:string (str) – arguments
Returns:A newly allocated GLib.List of strings.
Return type:[str]

Parse arguments from a string to a GLib.List.

Anjuta.util_prog_is_installed(prog, show)
Parameters:
Return type:

bool

Anjuta.util_replace_home_dir_with_tilde(uri)
Parameters:uri (str) –
Return type:str
Anjuta.util_set_anjuta_prefix(name)
Parameters:name (str) –
Anjuta.util_set_user_mail(id)
Parameters:id (str) –
Anjuta.util_shell_expand(string)
Parameters:string (str) – input string
Returns:a newly-allocated string that must be freed with GLib.free().
Return type:str

Expand environment variables $(var_name) and tilde (~) in the input string.

Anjuta.util_str_middle_truncate(string, truncate_length)
Parameters:
  • string (str) –
  • truncate_length (int) –
Return type:

str

Anjuta.util_string_from_color(r, g, b)
Parameters:
Return type:

str

Anjuta.util_string_from_type(map, type)
Parameters:
Return type:

str

Anjuta.util_type_from_string(map, str)
Parameters:
Return type:

int

Anjuta.util_uri_get_dirname(uri)
Parameters:uri (str) –
Return type:str
Anjuta.util_user_shell()
Returns:A newly allocated string that is the path to the shell.
Return type:str

Retrieves the user’s preferred shell.

Anjuta.util_user_terminal()
Returns:A newly allocated strings list. The first argument is the terminal program name. The following are the arguments needed to execute a command. The list has to be freed with GLib.strfreev
Return type:[str]

Retrieves the user’s preferred terminal.