GimpSessionInfo-dock

GimpSessionInfo-dock

Synopsis

                    GimpSessionInfoDock;
GimpSessionInfoDock * gimp_session_info_dock_new        (const gchar *dock_type);
void                gimp_session_info_dock_free         (GimpSessionInfoDock *dock_info);
void                gimp_session_info_dock_serialize    (GimpConfigWriter *writer,
                                                         GimpSessionInfoDock *dock);
GTokenType          gimp_session_info_dock_deserialize  (GScanner *scanner,
                                                         gint scope,
                                                         GimpSessionInfoDock **info,
                                                         const gchar *dock_type);
GimpSessionInfoDock * gimp_session_info_dock_from_widget
                                                        (GimpDock *dock);
GimpDock *          gimp_session_info_dock_restore      (GimpSessionInfoDock *dock_info,
                                                         GimpDialogFactory *factory,
                                                         GdkScreen *screen,
                                                         GimpDockContainer *dock_container);

Description

Details

GimpSessionInfoDock

typedef struct {
  /* Type of dock, written to/read from sessionrc. E.g. 'gimp-dock' or
   * 'gimp-toolbox'
   */
  gchar             *dock_type;

  /* What side this dock is in in single-window mode. Either
   * GIMP_ARRANGE_LEFT, GIMP_ARRANGE_RIGHT or -1.
   */
  GimpAlignmentType  side;

  /* GtkPaned position of this dock */
  gint               position;

  /*  list of GimpSessionInfoBook  */
  GList             *books;
} GimpSessionInfoDock;

Contains information about a dock in the interface.


gimp_session_info_dock_new ()

GimpSessionInfoDock * gimp_session_info_dock_new        (const gchar *dock_type);


gimp_session_info_dock_free ()

void                gimp_session_info_dock_free         (GimpSessionInfoDock *dock_info);


gimp_session_info_dock_serialize ()

void                gimp_session_info_dock_serialize    (GimpConfigWriter *writer,
                                                         GimpSessionInfoDock *dock);


gimp_session_info_dock_deserialize ()

GTokenType          gimp_session_info_dock_deserialize  (GScanner *scanner,
                                                         gint scope,
                                                         GimpSessionInfoDock **info,
                                                         const gchar *dock_type);


gimp_session_info_dock_from_widget ()

GimpSessionInfoDock * gimp_session_info_dock_from_widget
                                                        (GimpDock *dock);


gimp_session_info_dock_restore ()

GimpDock *          gimp_session_info_dock_restore      (GimpSessionInfoDock *dock_info,
                                                         GimpDialogFactory *factory,
                                                         GdkScreen *screen,
                                                         GimpDockContainer *dock_container);