6 class GitHubLoginWindow :
public Gtk::Window {
8 static GitHubLoginWindow *create(
const std::string &auth_filename,
const std::string &client_id);
9 GitHubLoginWindow(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
const std::string &auth_filename,
10 const std::string &client_id);
13 Gtk::Stack *stack =
nullptr;
14 Gtk::Label *code_label =
nullptr;
15 Gtk::Label *done_label =
nullptr;
16 Gtk::Label *error_label =
nullptr;
17 Gtk::Button *copy_button =
nullptr;
18 Gtk::Button *browser_button =
nullptr;
22 Glib::Dispatcher dispatcher;
24 std::string user_code;
25 std::string verification_uri;
29 std::string error_msg;
32 const std::string auth_filename;
33 const std::string client_id;