Top | ![]() |
![]() |
![]() |
![]() |
gboolean gedit_utils_menu_position_under_tree_view (GtkTreeView *tree_view
,GdkRectangle *rect
);
void gedit_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.
gchar **
gedit_utils_drop_get_uris (GtkSelectionData *selection_data
);
Create a list of valid uri's from a uri-list drop.
a string array which will hold the uris or
NULL
if there were no valid uris. g_strfreev should be used when
the string array is no longer used.
[transfer full]
GtkSourceCompressionType
gedit_utils_get_compression_type_from_content_type
(const gchar *content_type
);
gchar *
gedit_utils_location_get_dirname_for_display
(GFile *location
);
Returns a string suitable to be displayed in the UI indicating the name of the directory where the file is located. For remote files it may also contain the hostname etc. For local files it tries to replace the home dir with ~.
gchar *
gedit_utils_set_direct_save_filename (GdkDragContext *context
);
const gchar *
gedit_utils_newline_type_to_string (GtkSourceNewlineType newline_type
);