The purpose of this interactive test is to be able to prototype new features for CcPanel without having to adapt existing panels. Three test panels were added as part of this initial patch: * Dynamic panels: panel exercising the ability to show and hide itself at runtime. * Header: panel that embeds a header widget. * Static Initializer: panel that sets a static init function to run at startup.
32 lines
1 KiB
C
32 lines
1 KiB
C
/* gtp-static-init.h
|
|
*
|
|
* Copyright 2018 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
|
|
*
|
|
* This program 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.
|
|
*
|
|
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <shell/cc-panel.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GTP_TYPE_STATIC_INIT (gtp_static_init_get_type())
|
|
G_DECLARE_FINAL_TYPE (GtpStaticInit, gtp_static_init, GTP, STATIC_INIT, CcPanel)
|
|
|
|
void gtp_static_init_func (void);
|
|
|
|
G_END_DECLS
|