Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * gtr_gtk_button_new_with_icon_name (const gchar *label
,const gchar *icon_name
);
Convenience function to create a GtkButton with a stock image.
void gtr_utils_menu_position_under_widget (GtkMenu *menu
,gint *x
,gint *y
,gboolean *push_in
,gpointer user_data
);
It returns the position to popup a menu in a specific widget.
menu |
a GtkMenu |
|
x |
the x position of the widget |
|
y |
the y position of the widget |
|
user_data |
the widget to get the position |
void gtr_utils_menu_position_under_tree_view (GtkMenu *menu
,gint *x
,gint *y
,gboolean *push_in
,gpointer user_data
);
It returns the position to popup a menu in a TreeView.
menu |
a GtkMenu |
|
x |
the x position of the widget |
|
y |
the y position of the widget |
|
user_data |
the widget to get the position |
GSList *
gtr_utils_drop_get_locations (GtkSelectionData *selection_data
);
gboolean g_utf8_caselessnmatch (const gchar *s1
,const gchar *s2
,gssize n1
,gssize n2
);
void
gtr_utils_help_display (GtkWindow *parent
);
Launches the help viewer on screen
to show gtranslator's help
gchar * gtr_utils_escape_underscores (const gchar *text
,gssize length
);
gchar *
gtr_utils_get_file_from_pixmapsdir (const gchar *filename
);
gchar *
gtr_utils_get_file_from_pkgdatadir (const gchar *filename
);
gchar *
pango_font_description_to_css (PangoFontDescription *desc
);