33 typedef gpointer (*GDupFunc)(gconstpointer data);
93 GHashTable *
g_hash_table_duplicate(GHashTable *src, GHashFunc hash, GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, GDupFunc key_dup, GDupFunc value_dup);
GHashTable * g_hash_table_duplicate(GHashTable *src, GHashFunc hash, GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, GDupFunc key_dup, GDupFunc value_dup)
Duplicate the contents of a hastable.
void gnt_util_set_trigger_widget(GntWidget *widget, const char *key, GntWidget *button)
Make some keypress activate a button when some key is pressed with 'wid' in focus.
const char * gnt_util_onscreen_width_to_pointer(const char *str, int len, int *w)
Computes and returns the string after a specific number of onscreen characters.
gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy)
To be used with g_signal_new.
void gnt_util_parse_widgets(const char *string, int num,...)
Parse widgets from an XML description.
void gnt_util_get_text_bound(const char *text, int *width, int *height)
Compute the width and height required to view the text on the screen.
int gnt_util_onscreen_width(const char *start, const char *end)
Get the onscreen width of a string, or a substring.
GntWidget * gnt_widget_bindings_view(GntWidget *widget)
Get a helpful display about the bindings of a widget.
char * gnt_util_onscreen_fit_string(const char *string, int maxw)
Inserts newlines in 'string' where necessary so that its onscreen width is no more than 'maxw'...
gboolean gnt_util_parse_xhtml_to_textview(const char *string, GntTextView *tv)
Parse an XHTML string and add it in a GntTextView with appropriate text flags.