Skip to content

Instantly share code, notes, and snippets.

@dj-amadeous
Created October 3, 2017 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dj-amadeous/e07b04d9aaf045b505acaab996aab4e1 to your computer and use it in GitHub Desktop.
Save dj-amadeous/e07b04d9aaf045b505acaab996aab4e1 to your computer and use it in GitHub Desktop.
my dialogs class
#ifndef DIALOGS_H
#define DIALOGS_H
#include <iostream>
#include <gtkmm.h>
#include <string>
class Dialogs
{
public:
static void message(std::string msg, std::string title = "Info");
static std::string input(std::string msg, std::string title = "Input", std::string default_text = "", std::string cancel_text = "cancel");
protected:
private:
};
#endif // DIALOGS_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment