Blame clients/tui/newt/nmt-newt-section.h

Packit Service 87a54e
/* SPDX-License-Identifier: GPL-2.0-or-later */
Packit 5756e2
/*
Packit 5756e2
 * Copyright (C) 2013 Red Hat, Inc.
Packit 5756e2
 */
Packit 5756e2
Packit 5756e2
#ifndef NMT_NEWT_SECTION_H
Packit 5756e2
#define NMT_NEWT_SECTION_H
Packit 5756e2
Packit 5756e2
#include "nmt-newt-container.h"
Packit 5756e2
Packit Service a1bd4f
#define NMT_TYPE_NEWT_SECTION (nmt_newt_section_get_type())
Packit Service a1bd4f
#define NMT_NEWT_SECTION(obj) \
Packit Service a1bd4f
    (G_TYPE_CHECK_INSTANCE_CAST((obj), NMT_TYPE_NEWT_SECTION, NmtNewtSection))
Packit Service a1bd4f
#define NMT_NEWT_SECTION_CLASS(klass) \
Packit Service a1bd4f
    (G_TYPE_CHECK_CLASS_CAST((klass), NMT_TYPE_NEWT_SECTION, NmtNewtSectionClass))
Packit Service a1bd4f
#define NMT_IS_NEWT_SECTION(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), NMT_TYPE_NEWT_SECTION))
Packit Service a1bd4f
#define NMT_IS_NEWT_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NMT_TYPE_NEWT_SECTION))
Packit Service a1bd4f
#define NMT_NEWT_SECTION_GET_CLASS(obj) \
Packit Service a1bd4f
    (G_TYPE_INSTANCE_GET_CLASS((obj), NMT_TYPE_NEWT_SECTION, NmtNewtSectionClass))
Packit 5756e2
Packit 5756e2
struct _NmtNewtSection {
Packit Service a1bd4f
    NmtNewtContainer parent;
Packit 5756e2
};
Packit 5756e2
Packit 5756e2
typedef struct {
Packit Service a1bd4f
    NmtNewtContainerClass parent;
Packit 5756e2
Packit 5756e2
} NmtNewtSectionClass;
Packit 5756e2
Packit Service a1bd4f
GType nmt_newt_section_get_type(void);
Packit 5756e2
Packit Service a1bd4f
NmtNewtWidget *nmt_newt_section_new(gboolean show_border);
Packit 5756e2
Packit Service a1bd4f
void           nmt_newt_section_set_header(NmtNewtSection *section, NmtNewtWidget *header);
Packit Service a1bd4f
NmtNewtWidget *nmt_newt_section_get_header(NmtNewtSection *section);
Packit 5756e2
Packit Service a1bd4f
void           nmt_newt_section_set_body(NmtNewtSection *section, NmtNewtWidget *body);
Packit Service a1bd4f
NmtNewtWidget *nmt_newt_section_get_body(NmtNewtSection *section);
Packit 5756e2
Packit 5756e2
#endif /* NMT_NEWT_SECTION_H */