mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update new tab api
This commit is contained in:
parent
65bc5ef6f4
commit
dd68120c10
9 changed files with 77 additions and 52 deletions
|
|
@ -9,6 +9,9 @@ namespace app::browser::main
|
|||
{
|
||||
class Tab : public Gtk::Notebook
|
||||
{
|
||||
const bool REORDERABLE = true;
|
||||
const bool SCROLLABLE = true;
|
||||
|
||||
public:
|
||||
|
||||
Tab();
|
||||
|
|
@ -20,13 +23,12 @@ namespace app::browser::main
|
|||
);
|
||||
|
||||
void append(
|
||||
const char * request,
|
||||
bool open,
|
||||
bool focus
|
||||
const Glib::ustring & page_navbar_request_text = "",
|
||||
bool focus = true
|
||||
);
|
||||
|
||||
void close(
|
||||
int number
|
||||
int page_number
|
||||
);
|
||||
|
||||
void close_left();
|
||||
|
|
@ -34,7 +36,7 @@ namespace app::browser::main
|
|||
void close_all();
|
||||
|
||||
void update(
|
||||
int number
|
||||
int page_number
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue