index
gtk-- homepage



Description:
Gtk_Label

#include <gtk--/label.h>
Base classes: Gtk_Misc
Derived by: Gtk_AccelLabel Gtk_TipsQuery

Text string widget.
A simple setable widget for holding a string.



Properties:


Public member index:


static GtkType get_type();
GtkLabel *gtkobj();
const GtkLabel *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_Label();
Gtk_Label(const gtkmm_string &label=0,gfloat x=0 . 5,gfloat y=0 . 5);
void set(const string &str);
Set the label text to match str.

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 gtkmm_string &pattern);
(Gtk 1.1)

guint parse_uline(const string &str);
(Gtk 1.1)

void set_line_wrap(bool wrap);
(Gtk 1.1)

Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_Label(GtkLabel *castitem);
Private member index:


Gtk_Label(const Gtk_Label &);
Gtk_Label &operator =(const Gtk_Label &);

Public member details:


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

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


Protected member details:



Private member details:



Examples:





(pages generated by PERCEPS -script.)