Gtk_Label(3)

Gtk_Label3

NAME - Gtk_Label

Text string widget.

Header required

#include <gtk--/label.h&gt;>

Base classes

Gtk_Misc(3)

Derived by

Gtk_AccelLabel(3) Gtk_TipsQuery(3)

Overview

A simple setable widget for holding a string.

Properties

label

Type: string
Get: get(),get_text()
Set: set(),set_text()

Labels text.

label_wc

Type: GdkWChar*

Label in wide characters. (not tested)

pattern

Type: string

words

Type: GtkLabelWord*

max_width

Type: guint:16

jtype

Type: guint:2
Set: set_justify()

Specifies how label will behave with more than one line in it. If you're looking for changing label alignment, check Gtk_Misc::set_alignment().

Possible values: {num GTK_JUSTIFY_LEFT, GTK_JUSTIFY_RIGHT, GTK_JUSTIFY_CENTER, GTK_JUSTIFY_FILL}

wrap

Type: gboolean

.IP

Public member index

Gtk_Label(const _gtk_string &label = 0);
Gtk_Label(GtkLabel *castitem);
void  set(const string &str);
  Set the label text to match {
void  set_text(const string &str);
  Alias for {set()}
string  get() const;
  Return the current label text. 
string  get_text() const;
  Return the current label text.
void  set_justify(GtkJustification jtype);
  Sets the justification for multiple lines.
void  set_pattern(const _gtk_string &pattern);
  (Gtk 1.1)
guint  parse_uline(const string &str);
  (Gtk 1.1)
void  set_line_wrap(bool wrap);
  (Gtk 1.1)
GtkLabel*  gtkobj();
const GtkLabel*  gtkobj() const;
static bool  isGtkLabel(Gtk_Object *checkcast);

Protected member index

friend  CppClassType;
typedef GtkLabel  BaseObjectType;
typedef GtkLabelClass  BaseClassType;
virtual void * get_parent_class();

Private member index

static CppClassType  label_class;
GtkType  get_type();

Public member descriptions

void Gtk_Label::set (const string &str);

Set the label text to match str..
Text can not be NULL.

Protected member descriptions

Private member descriptions

From libgtkmm-dev 1.0.3-1.1 in Debian 2.2 (Potato). Parsed by carta from the page's man source.