Blame src/st/st-label.h

Packit d345d1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
Packit d345d1
/*
Packit d345d1
 * st-label.h: Plain label actor
Packit d345d1
 *
Packit d345d1
 * Copyright 2008, 2009 Intel Corporation.
Packit d345d1
 *
Packit d345d1
 * This program is free software; you can redistribute it and/or modify it
Packit d345d1
 * under the terms and conditions of the GNU Lesser General Public License,
Packit d345d1
 * version 2.1, as published by the Free Software Foundation.
Packit d345d1
 *
Packit d345d1
 * This program is distributed in the hope it will be useful, but WITHOUT ANY
Packit d345d1
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
Packit d345d1
 * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
Packit d345d1
 * more details.
Packit d345d1
 *
Packit d345d1
 * You should have received a copy of the GNU Lesser General Public License
Packit d345d1
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Packit d345d1
 */
Packit d345d1
Packit d345d1
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
Packit d345d1
#error "Only <st/st.h> can be included directly.h"
Packit d345d1
#endif
Packit d345d1
Packit d345d1
#ifndef __ST_LABEL_H__
Packit d345d1
#define __ST_LABEL_H__
Packit d345d1
Packit d345d1
G_BEGIN_DECLS
Packit d345d1
Packit d345d1
#include <st/st-widget.h>
Packit d345d1
Packit d345d1
#define ST_TYPE_LABEL                (st_label_get_type ())
Packit d345d1
G_DECLARE_FINAL_TYPE (StLabel, st_label, ST, LABEL, StWidget)
Packit d345d1
Packit d345d1
typedef struct _StLabelPrivate       StLabelPrivate;
Packit d345d1
Packit d345d1
/**
Packit d345d1
 * StLabel:
Packit d345d1
 *
Packit d345d1
 * The contents of this structure is private and should only be accessed using
Packit d345d1
 * the provided API.
Packit d345d1
 */
Packit d345d1
struct _StLabel
Packit d345d1
{
Packit d345d1
  /*< private >*/
Packit d345d1
  StWidget parent_instance;
Packit d345d1
Packit d345d1
  StLabelPrivate *priv;
Packit d345d1
};
Packit d345d1
Packit d345d1
StWidget *     st_label_new              (const gchar *text);
Packit d345d1
const gchar *  st_label_get_text         (StLabel     *label);
Packit d345d1
void           st_label_set_text         (StLabel     *label,
Packit d345d1
                                          const gchar *text);
Packit d345d1
ClutterActor * st_label_get_clutter_text (StLabel     *label);
Packit d345d1
Packit d345d1
G_END_DECLS
Packit d345d1
Packit d345d1
#endif /* __ST_LABEL_H__ */