Top | ![]() |
![]() |
![]() |
![]() |
#define | GBOOLEAN_TO_POINTER() |
#define | GPOINTER_TO_BOOLEAN() |
#define | IS_VALID_BOOLEAN() |
gboolean | pluma_utils_uri_has_writable_scheme () |
gboolean | pluma_utils_uri_has_file_scheme () |
void | pluma_utils_menu_position_under_widget () |
GtkWidget * | pluma_gtk_button_new_with_icon () |
GtkWidget * | pluma_dialog_add_button () |
gchar * | pluma_utils_escape_underscores () |
gchar * | pluma_utils_str_middle_truncate () |
gboolean | g_utf8_caselessnmatch () |
void | pluma_utils_set_atk_name_description () |
void | pluma_utils_set_atk_relation () |
gboolean | pluma_utils_uri_exists () |
gchar * | pluma_utils_escape_search_text () |
gchar * | pluma_utils_unescape_search_text () |
void | pluma_warning () |
gchar * | pluma_utils_make_valid_utf8 () |
gchar * | pluma_utils_uri_get_dirname () |
gchar * | pluma_utils_replace_home_dir_with_tilde () |
guint | pluma_utils_get_current_workspace () |
guint | pluma_utils_get_window_workspace () |
gboolean | pluma_utils_is_valid_uri () |
gchar * | pluma_utils_make_canonical_uri_from_shell_arg () |
#define GPOINTER_TO_BOOLEAN(i) ((gboolean) ((GPOINTER_TO_INT(i) == 2) ? TRUE : FALSE))
gboolean
pluma_utils_uri_has_writable_scheme (const gchar *uri
);
void pluma_utils_menu_position_under_widget (GtkMenu *menu
,gint *x
,gint *y
,gboolean *push_in
,gpointer user_data
);
GtkWidget * pluma_gtk_button_new_with_icon (const gchar *label
,const gchar *icon_name
);
GtkWidget * pluma_dialog_add_button (GtkDialog *dialog
,const gchar *text
,const gchar *icon_name
,gint response_id
);
gchar * pluma_utils_escape_underscores (const gchar *text
,gssize length
);
gchar * pluma_utils_str_middle_truncate (const gchar *string
,guint truncate_length
);
gboolean g_utf8_caselessnmatch (const char *s1
,const char *s2
,gssize n1
,gssize n2
);
void pluma_utils_set_atk_name_description (GtkWidget *widget
,const gchar *name
,const gchar *description
);
This function sets up name and description for a specified gtk widget.
void pluma_utils_set_atk_relation (GtkWidget *obj1
,GtkWidget *obj2
,AtkRelationType rel_type
);
gchar *
pluma_utils_uri_get_dirname (const char *uri
);
Note: this function replace home dir with ~
gchar *
pluma_utils_replace_home_dir_with_tilde
(const gchar *uri
);
guint
pluma_utils_get_current_workspace (GdkScreen *screen
);
Get the current workspace
Get the currently visible workspace for the GdkScreen.
If the X11 window property isn't found, 0 (the first workspace) is returned.
guint
pluma_utils_get_window_workspace (GtkWindow *gtkwindow
);
Get the workspace the window is on
This function gets the workspace that the GtkWindow is visible on, it returns PLUMA_ALL_WORKSPACES if the window is sticky, or if the window manager doesn support this function