Mercurial > geeqie
diff src/layout.h @ 1466:6e020d3ab168
added possibility to update existing layout window from config
author | nadvornik |
---|---|
date | Fri, 20 Mar 2009 14:36:59 +0000 |
parents | d7a6fb7a90dd |
children | 01693e68707b |
line wrap: on
line diff
--- a/src/layout.h Fri Mar 20 11:52:29 2009 +0000 +++ b/src/layout.h Fri Mar 20 14:36:59 2009 +0000 @@ -21,6 +21,7 @@ LayoutWindow *layout_new_with_geometry(FileData *dir_fd, LayoutOptions *lop, const gchar *geometry); LayoutWindow *layout_new_from_config(const gchar **attribute_names, const gchar **attribute_values, gboolean use_commandline); +void layout_update_from_config(LayoutWindow *lw, const gchar **attribute_names, const gchar **attribute_values); void layout_close(LayoutWindow *lw); void layout_free(LayoutWindow *lw); @@ -39,6 +40,8 @@ LayoutWindow *layout_find_by_image(ImageWindow *imd); LayoutWindow *layout_find_by_image_fd(ImageWindow *imd); +LayoutWindow *layout_find_by_layout_id(const gchar *id); + const gchar *layout_get_path(LayoutWindow *lw); gboolean layout_set_path(LayoutWindow *lw, const gchar *path);