The Window class is a subclass of gtk.Window. It adds some features
that deepin-ui have to gtk.Window.
|
__init__(self,
enable_resize=False,
shadow_radius=6,
window_type=gtk.WINDOW_TOPLEVEL,
shadow_visible=True)
Initialise the Window class. |
source code
|
|
|
|
|
draw_mask(self,
cr,
x,
y,
w,
h)
Draw mask interface, you should implement this function own. |
source code
|
|
|
|
|
|
|
|
|
toggle_max_window(self)
Toggle the window size between maximized size and normal size. |
source code
|
|
|
toggle_fullscreen_window(self)
Toggle the window between fullscreen mode and normal size. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|