
Traditionally, getter/setter functions have been considered a C convenience, and we therefore didn't bother to add them for many properties that are only consumed from JS. However now that gjs optimizes property accesses by calling the appropriate getter/setter instead, it makes sense to add them. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3620>
22 lines
712 B
C
22 lines
712 B
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
#pragma once
|
|
|
|
#include <clutter/clutter.h>
|
|
#include "st.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define SHELL_TYPE_TRAY_MANAGER (shell_tray_manager_get_type ())
|
|
G_DECLARE_FINAL_TYPE (ShellTrayManager, shell_tray_manager,
|
|
SHELL, TRAY_MANAGER, GObject)
|
|
|
|
ShellTrayManager *shell_tray_manager_new (void);
|
|
void shell_tray_manager_manage_screen (ShellTrayManager *manager,
|
|
StWidget *theme_widget);
|
|
void shell_tray_manager_unmanage_screen (ShellTrayManager *manager);
|
|
|
|
CoglColor * shell_tray_manager_get_bg_color (ShellTrayManager *manager);
|
|
|
|
G_END_DECLS
|