From 34971f8edc0a9b44d55e7ba624033ffe7711c10e Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 21 Sep 2015 00:16:35 +0200 Subject: [PATCH] Add draft for new post --- _drafts/gtk-actionable-in-action.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _drafts/gtk-actionable-in-action.md diff --git a/_drafts/gtk-actionable-in-action.md b/_drafts/gtk-actionable-in-action.md new file mode 100644 index 0000000..025eb76 --- /dev/null +++ b/_drafts/gtk-actionable-in-action.md @@ -0,0 +1,15 @@ +--- +layout: post +title: "GtkActionable in action" +author: + name: "Gergely Polonkai" + email: "gergely@polonkai.eu" +--- + +I have seen several people (including myself) struggling with +disabling/enabling menu items, toolbar buttons and similar UI +interfaces based on different conditions. It gets even worse if there +are multiple representations of the same action in the same +application, e.g. a menu item and a toolbar button exists for the same +action. But with GTK+ 3.4, we have GtkAction, which is exactly for +this kind of situations. \ No newline at end of file