We no longer use tooltips for metadata YAY!

This commit is contained in:
Scoopta
2019-08-27 21:36:44 -07:00
parent 19aaa18391
commit 34681ca8f9
6 changed files with 113 additions and 21 deletions

33
inc/property_label.h Normal file
View File

@@ -0,0 +1,33 @@
/*
* Copyright (C) 2019 Scoopta
* This file is part of Wofi
* Wofi is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Wofi is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Wofi. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PROPERTY_LABEL_H
#define PROPERTY_LABEL_H
#include <map.h>
#include <gtk/gtk.h>
#define WOFI_TYPE_PROPERTY_LABEL wofi_property_label_get_type()
G_DECLARE_FINAL_TYPE(WofiPropertyLabel, wofi_property_label, WOFI, PROPERTY_LABEL, GtkLabel);
GtkWidget* wofi_property_label_new(const gchar* str);
void wofi_property_label_add_property(WofiPropertyLabel* this, const gchar* key, gchar* value);
const gchar* wofi_property_label_get_property(WofiPropertyLabel* this, const gchar* key);
#endif

View File

@@ -19,6 +19,7 @@
#include <map.h>
#include <config.h>
#include <property_label.h>
#include <errno.h>
#include <stddef.h>