![]() |
![]() |
![]() |
GNOME Docking Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
GdlPreviewWindow; GtkWidget * gdl_preview_window_new (void
); void gdl_preview_window_update (GdlPreviewWindow *window
,GdkRectangle *rect
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GdlPreviewWindow
The GdlPreviewWindow is used to indicate the position where the widget will be dropped. Depending on the capability of the screen it can use a transparent window or just a border.
typedef struct _GdlPreviewWindow GdlPreviewWindow;
The GdlDockLayout struct contains only private fields and should not be directly accessed.
GtkWidget * gdl_preview_window_new (void
);
Creates a new GdlPreviewWindow
Returns : |
New GdlPreviewWindow item. |
void gdl_preview_window_update (GdlPreviewWindow *window
,GdkRectangle *rect
);
Update the size and position of the preview window. This function is called on drag_motion event to update the representation of the docking site in real time.
|
a GdlPreviewWindow |
|
the new position and size of the window |