diff options
author | Perberos <[email protected]> | 2011-11-07 19:52:18 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-07 19:52:18 -0300 |
commit | 5ded9cba8563f336939400303d6a841d5089b107 (patch) | |
tree | c5676588cff26ba37e12369fe4de24b54e9f6682 /plugin-loaders/python/bindings/plumautils.defs | |
parent | f00b3a11a199f9f85a4d46a600f9d14179b37dbf (diff) | |
download | pluma-5ded9cba8563f336939400303d6a841d5089b107.tar.bz2 pluma-5ded9cba8563f336939400303d6a841d5089b107.tar.xz |
renaming from gedit to pluma
Diffstat (limited to 'plugin-loaders/python/bindings/plumautils.defs')
-rwxr-xr-x | plugin-loaders/python/bindings/plumautils.defs | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/plugin-loaders/python/bindings/plumautils.defs b/plugin-loaders/python/bindings/plumautils.defs new file mode 100755 index 00000000..a9a4738d --- /dev/null +++ b/plugin-loaders/python/bindings/plumautils.defs @@ -0,0 +1,67 @@ +;; -*- scheme -*- + +;; From ../../pluma/pluma-utils.h + +(define-function uri_has_writable_scheme + (c-name "pluma_utils_uri_has_writable_scheme") + (return-type "gboolean") + (parameters + '("const-gchar*" "uri") + ) +) + +(define-function uri_has_file_scheme + (c-name "pluma_utils_uri_has_file_scheme") + (return-type "gboolean") + (parameters + '("const-gchar*" "uri") + ) +) + +(define-function uri_exists + (c-name "pluma_utils_uri_exists") + (return-type "gboolean") + (parameters + '("const-gchar*" "text_uri") + ) +) + +(define-function uri_is_valid + (c-name "pluma_utils_is_valid_uri") + (return-type "gboolean") + (parameters + '("const-gchar*" "uri") + ) +) + +(define-function uri_get_dirname + (c-name "pluma_utils_uri_get_dirname") + (return-type "gchar*") + (parameters + '("const-char*" "uri") + ) +) + +(define-function menu_position_under_widget + (c-name "pluma_utils_menu_position_under_widget") + (return-type "none") + (parameters + '("GtkMenu*" "menu") + '("gint*" "x") + '("gint*" "y") + '("gboolean*" "push_in") + '("gpointer" "user_data") + ) +) + +(define-function menu_position_under_tree_view + (c-name "pluma_utils_menu_position_under_tree_view") + (return-type "none") + (parameters + '("GtkMenu*" "menu") + '("gint*" "x") + '("gint*" "y") + '("gboolean*" "push_in") + '("gpointer" "user_data") + ) +) |