Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcolordialogbutton.h
Go to the documentation of this file.
1/*
2 * GTK - The GIMP Toolkit
3 * Copyright (C) 2022 Red Hat, Inc.
4 * All rights reserved.
5 *
6 * This Library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This Library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include <gtk/gtkbutton.h>
27#include <gtk/gtkcolordialog.h>
28
30
31#define GTK_TYPE_COLOR_DIALOG_BUTTON (gtk_color_dialog_button_get_type ())
32
34G_DECLARE_FINAL_TYPE (GtkColorDialogButton, gtk_color_dialog_button, GTK, COLOR_DIALOG_BUTTON, GtkWidget)
35
37GtkWidget * gtk_color_dialog_button_new (GtkColorDialog *dialog);
38
40GtkColorDialog *gtk_color_dialog_button_get_dialog (GtkColorDialogButton *self);
41
43void gtk_color_dialog_button_set_dialog (GtkColorDialogButton *self,
44 GtkColorDialog *dialog);
45
47const GdkRGBA * gtk_color_dialog_button_get_rgba (GtkColorDialogButton *self);
48
50void gtk_color_dialog_button_set_rgba (GtkColorDialogButton *self,
51 const GdkRGBA *color);
52
#define GDK_AVAILABLE_IN_4_10
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
GDK_AVAILABLE_IN_4_10 void gtk_color_dialog_button_set_rgba(GtkColorDialogButton *self, const GdkRGBA *color)
GDK_AVAILABLE_IN_4_10 GtkColorDialog * gtk_color_dialog_button_get_dialog(GtkColorDialogButton *self)
GDK_AVAILABLE_IN_4_10 const GdkRGBA * gtk_color_dialog_button_get_rgba(GtkColorDialogButton *self)
GDK_AVAILABLE_IN_4_10 void gtk_color_dialog_button_set_dialog(GtkColorDialogButton *self, GtkColorDialog *dialog)
GDK_AVAILABLE_IN_4_10 GDK_AVAILABLE_IN_4_10 GtkWidget * gtk_color_dialog_button_new(GtkColorDialog *dialog)
#define G_DECLARE_FINAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
Definition gtype.h:1602