gntlabel.h File Reference

Label API. More...

#include "gnt.h"
#include "gntwidget.h"
#include "gnttextview.h"

Include dependency graph for gntlabel.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _GntLabel
struct  _GntLabelClass

Defines

#define GNT_TYPE_LABEL   (gnt_label_get_gtype())
#define GNT_LABEL(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_LABEL, GntLabel))
#define GNT_LABEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_LABEL, GntLabelClass))
#define GNT_IS_LABEL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_LABEL))
#define GNT_IS_LABEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_LABEL))
#define GNT_LABEL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_LABEL, GntLabelClass))

Typedefs

typedef _GntLabel GntLabel
typedef _GntLabelClass GntLabelClass

Functions

G_BEGIN_DECLS GType gnt_label_get_gtype (void)
GntWidget * gnt_label_new (const char *text)
GntWidget * gnt_label_new_with_format (const char *text, GntTextFormatFlags flags)
void gnt_label_set_text (GntLabel *label, const char *text)


Detailed Description

Label API.


Function Documentation

G_BEGIN_DECLS GType gnt_label_get_gtype void   ) 
 

Returns:

GntWidget* gnt_label_new const char *  text  ) 
 

Parameters:
text 
Returns:

GntWidget* gnt_label_new_with_format const char *  text,
GntTextFormatFlags  flags
 

Parameters:
text 
flags 
Returns:

void gnt_label_set_text GntLabel *  label,
const char *  text
 

Parameters:
label 
text