| Top |  |  |  |  | 
| enum | GladeUIMessageType | 
| enum | GladeUtilFileDialogType | 
| cairo_path_t | glade_path | 
| #define | glade_path_HEIGHT | 
| #define | glade_path_WIDTH | 
GType glade_util_get_type_from_name (const gchar *name,gboolean have_func);
Returns the type using the "get type" function name based on name
.  
If the have_func
 flag is true,name
 is used directly, otherwise the get-type 
function is contrived from name
 then used.
GParamSpec *
glade_utils_get_pspec_from_funcname (const gchar *funcname);
gboolean glade_util_ui_message (GtkWidget *parent,GladeUIMessageType type,GtkWidget *widget,const gchar *format,...);
Creates a new warning dialog window as a child of parent
 containing
the text of format
, runs it, then destroys it on close. Depending
on type
, a cancel button may appear or the icon may change.
void glade_util_flash_message (GtkWidget *statusbar,guint context_id,gchar *format,...);
gint glade_util_compare_stock_labels (gconstpointer a,gconstpointer b);
This is a GCompareFunc that compares the labels of two stock items, ignoring any '_' characters. It isn't particularly efficient.
GtkWidget * glade_util_file_dialog_new (const gchar *title,GladeProject *project,GtkWindow *parent,GladeUtilFileDialogType action);
| title | dialog title | |
| project | a GladeProject used when saving | |
| parent | a parent GtkWindow for the dialog | |
| action | a GladeUtilFileDialogType to say if the dialog will open or save | 
void glade_util_replace (gchar *str,gchar a,gchar b);
Replaces each occurrence of the character a
 in str
 to b
.
gchar *
glade_util_read_prop_name (const gchar *str);
Return a usable version of a property identifier as found in a freshly parserd GladeInterface
gchar *
glade_util_duplicate_underscores (const gchar *name);
Duplicates name
, but the copy has two underscores in place of any single
underscore in the original.
GList *
glade_util_container_get_all_children (GtkContainer *container);
Use this to itterate over all children in a GtkContainer,
as it used _forall() instead of _foreach() (and the GTK+ version
of this function is simply not exposed).
GtkTreeIter * glade_util_find_iter_by_widget (GtkTreeModel *model,GladeWidget *findme,gint column);
Looks through model
 for the GtkTreeIter corresponding to 
findme
 under column
.
GList * glade_util_added_in_list (GList *old_list,GList *new_list);
[skip]
GList * glade_util_removed_from_list (GList *old_list,GList *new_list);
[skip]
GModule *
glade_util_load_library (const gchar *library_name);
Loads the named library from the Glade modules and lib directory or failing that from the standard platform specific directories. (Including /usr/local/lib for unices)
The library_name
 should not include any platform specifix prefix or suffix,
those are automatically added, if needed, by g_module_build_path()
[skip]
gboolean
glade_util_file_is_writeable (const gchar *path);
Checks whether the file at path
 is writeable
GtkWidget *
glade_util_get_devhelp_icon (GtkIconSize size);
Creates an image displaying the devhelp icon.
void glade_util_search_devhelp (const gchar *book,const gchar *page,const gchar *search);
GtkWidget *
glade_util_get_placeholder_from_pointer
                               (GtkContainer *container);
gboolean
glade_util_url_show (const gchar *url);
Portable function for showing an URL url
 in a web browser.
time_t glade_util_get_file_mtime (const gchar *filename,GError **error);
Gets the UTC modification time of file filename
.
gboolean glade_util_check_and_warn_scrollable (GladeWidget *parent,GladeWidgetAdaptor *child_adaptor,GtkWidget *parent_widget);
gboolean glade_utils_boolean_from_string (const gchar *string,gboolean *value);
Parse a boolean value
void glade_utils_cairo_draw_line (cairo_t *cr,GdkColor *color,gint x1,gint y1,gint x2,gint y2);
void glade_utils_cairo_draw_rectangle (cairo_t *cr,GdkColor *color,gboolean filled,gint x,gint y,gint width,gint height);
gchar * glade_utils_enum_string_from_value (GType enum_type,gint value);
gchar * glade_utils_enum_string_from_value_displayable (GType flags_type,gint value);
gint glade_utils_enum_value_from_string (GType enum_type,const gchar *strval);
gchar * glade_utils_flags_string_from_value (GType enum_type,gint value);
gchar * glade_utils_flags_string_from_value_displayable (GType flags_type,gint value);
gint glade_utils_flags_value_from_string (GType enum_type,const gchar *strval);
void glade_utils_get_pointer (GtkWidget *widget,GdkWindow *window,GdkDevice *device,gint *x,gint *y);
Get's the pointer position relative to widget
, while window
 and device
are not absolutely needed, they should be passed wherever possible.
| widget | The widget to get the mouse position relative for | |
| window | The window of the current event, or  | |
| device | The device, if not specified, the current event will be expected to have a  | |
| x | The location to store the mouse pointer X position | |
| y | The location to store the mouse pointer Y position | 
gint glade_utils_hijack_key_press (GtkWindow *win,GdkEventKey *event,gpointer user_data);
This function is meant to be attached to key-press-event of a toplevel, it simply allows the window contents to treat key events /before/ accelerator keys come into play (this way widgets dont get deleted when cutting text in an entry etc.). Creates a liststore suitable for comboboxes and such to chose from a variety of types.
GtkListStore * glade_utils_liststore_from_enum_type (GType enum_type,gboolean include_empty);
Creates a liststore suitable for comboboxes and such to chose from a variety of types.
GdkPixbuf * glade_utils_pointer_mode_render_icon (GladePointerMode mode,GtkIconSize size);
Render an icon representing the pointer mode. Best view with sizes bigger than GTK_ICON_SIZE_LARGE_TOOLBAR.
gchar *
glade_utils_replace_home_dir_with_tilde
                               (const gchar *path);
gchar *
glade_utils_string_from_value (const GValue *value);
Serializes GValue into a string (using glade conversion routines)
GValue * glade_utils_value_from_string (GType type,const gchar *string,GladeProject *project);
Allocates and sets a GValue of type type
set to string
 (using glade conversion routines)
| type | a GType to convert with | |
| string | the string to convert | |
| project | the GladeProject to look for formats of object names when needed | 
gchar * glade_get_displayable_value (GType type,const gchar *value);
gchar * glade_get_value_from_displayable (GType type,const gchar *displayabe);
void glade_register_displayable_value (GType type,const gchar *value,const gchar *domain,const gchar *string);
void glade_register_translated_value (GType type,const gchar *value,const gchar *string);
gboolean glade_displayable_value_is_disabled (GType type,const gchar *value);