Add gimp_image_window_add_display() and use it
This API is most likely not final, but enables adding the vbox of shell widgets to the image window's vbox *after* the shell constructor returns. Seems to work nicely :-)
This commit is contained in:
@ -36,6 +36,7 @@ struct _GimpImageWindow
|
||||
{
|
||||
GimpWindow parent_instance;
|
||||
|
||||
GList *displays;
|
||||
GimpDisplay *active_display;
|
||||
|
||||
GimpUIManager *menubar_manager;
|
||||
@ -56,6 +57,9 @@ struct _GimpImageWindowClass
|
||||
|
||||
GType gimp_image_window_get_type (void) G_GNUC_CONST;
|
||||
|
||||
void gimp_image_window_add_display (GimpImageWindow *window,
|
||||
GimpDisplay *display);
|
||||
|
||||
void gimp_image_window_set_active_display (GimpImageWindow *window,
|
||||
GimpDisplay *display);
|
||||
GimpDisplay * gimp_image_window_get_active_display (GimpImageWindow *window);
|
||||
|
Reference in New Issue
Block a user