00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <glib.h>
00028
00029 #include "gnt.h"
00030 #include "gntwidget.h"
00031
00032 typedef gpointer (*GDupFunc)(gconstpointer data);
00033
00041 void gnt_util_get_text_bound(const char *text, int *width, int *height);
00042
00043
00054 int gnt_util_onscreen_width(const char *start, const char *end);
00055
00065 const char *gnt_util_onscreen_width_to_pointer(const char *str, int len, int *w);
00066
00077 char * gnt_util_onscreen_fit_string(const char *string, int maxw);
00078
00092 GHashTable * g_hash_table_duplicate(GHashTable *src, GHashFunc hash, GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, GDupFunc key_dup, GDupFunc value_dup);
00093
00105 gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy);
00106
00114 GntWidget * gnt_widget_bindings_view(GntWidget *widget);
00115
00132 void gnt_util_parse_widgets(const char *string, int num, ...);
00133
00141 void gnt_util_set_trigger_widget(GntWidget *wid, const char *text, GntWidget *button);
00142