summaryrefslogtreecommitdiff
path: root/plugin-loaders/python/bindings/plumautils.defs
blob: a9a4738d3cc32409577b1d158ad246462044f860 (plain)
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
63
64
65
66
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")
  )
)