add_titlebar(self,
button_mask=["theme","menu","max","min","close"],
icon_dpixbuf=None,
app_name=None,
title=None,
add_separator=False,
show_title=True)
| source code
|
Add titlebar to the application.
Connect click signal of the standard button to default callback.
- Parameters:
button_mask - A list of string, each of which stands for a standard button on
top right of the window. By default, it's ["theme",
"menu", "max", "min",
"close"].
icon_dpixbuf - The icon pixbuf of type dtk.ui.theme.DynamicPixbuf. By default,
it is None.
app_name - The name string of the application, which will be displayed just
next to the icon_dpixbuf. By default, it is None.
title - The title string of the window, which will be displayed on the
center of the titlebar. By default, it is None.
add_separator - If True, add a line between the titlebar and the body of the
window. By default, it's False.
show_title - If False, the titlebar will not be displayed. By default, it's
True.
|