def __setup_content(self): """ Setup window content """ self.set_default_icon_name('web-browser') self.__toolbar = Toolbar(self) self.__toolbar.show() self.__container = Container(self) self.__container.show() self.set_titlebar(self.__toolbar) self.__toolbar.set_show_close_button(True) self.add(self.__container)
def __setup_content(self): """ Setup window content """ self.__toolbar = Toolbar(self) self.__fullscreen_toolbar = None self.__toolbar.show() self.__container = Container(self) self.__container.show() self.set_titlebar(self.__toolbar) self.__toolbar.set_show_close_button(True) self.add(self.__container)
def __setup_content(self): """ Setup window content """ self.__toolbar = Toolbar(self) self.__fullscreen_toolbar = None self.__toolbar.show() self.__container = Container(self) panel_mode = El().settings.get_enum("panel-mode") self.__container.update_pages_manager(panel_mode) self.__container.show() self.set_titlebar(self.__toolbar) self.__toolbar.set_show_close_button(True) self.add(self.__container)
def __setup_content(self): """ Setup window content """ self.set_default_icon_name('web-browser') vgrid = Gtk.Grid() vgrid.set_orientation(Gtk.Orientation.VERTICAL) vgrid.show() self.__toolbar = Toolbar() self.__toolbar.show() if El().prefers_app_menu(): self.set_titlebar(self.__toolbar) self.__toolbar.set_show_close_button(True) else: vgrid.add(self.__toolbar) self.__container = Container() self.__container.show() vgrid.add(self.__container) self.add(vgrid)