[gimp] devel-docs: Add paragraph about GimpDialogFactory to ui-framework.txt



commit b0fb45647d9ff1e672c42e5e906bcdca416fd892
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Jan 17 00:01:35 2010 +0100

    devel-docs: Add paragraph about GimpDialogFactory to ui-framework.txt

 devel-docs/ui-framework.txt |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/devel-docs/ui-framework.txt b/devel-docs/ui-framework.txt
index e80f77b..f9c1c36 100644
--- a/devel-docs/ui-framework.txt
+++ b/devel-docs/ui-framework.txt
@@ -29,3 +29,18 @@ GimpSessionInfo   - Contains session info for one toplevel
 GimpUIConfigurer  - Configures the UI when switching between
                     single-window and multi-window mode
 
+
+  GimpDialogFactory
+  -----------------
+
+The GimpDialogFactory can be considered to solve two distinct
+problems:
+
+1. Create widgets from text, in particular from text in sessionrc
+2. Session manage toplevel windows so their position is remebered
+   across GIMP sessions
+
+One possible design adjustment would be to have GimpWidgetFactory that
+takes care of 1), and then have GimpDialogFactory inherit from
+GtkWidgetFactory and implementing 2). GimpWidgetFactory could possibly
+use GtkBuilder.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]