/*
 * Xournal++
 *
 * Button with Popup Menu
 *
 * @author Xournal++ Team
 * https://github.com/xournalpp/xournalpp
 *
 * @license GNU GPLv2 or later
 */

#pragma once

#include <XournalType.h>

#include <gtk/gtk.h>

class PopupMenuButton
{
public:
	PopupMenuButton(GtkWidget* button, GtkWidget* menu);
	virtual ~PopupMenuButton();

public:
	void setMenu(GtkWidget* menu);

private:
	XOJ_TYPE_ATTRIB;

	GtkWidget* button;
	GtkWidget* menu;
};

