type Gtk_Label_Record is new Misc.Gtk_Misc_Record with private;
type Gtk_Label is access all Gtk_Label_Record'Class;
Label_Property : constant Glib.Properties.Property_String;
Use_Markup_Property : constant Glib.Properties.Property_Boolean;
Use_Underline_Property : constant Glib.Properties.Property_Boolean;
Justify_Property : constant Gtk.Enums.Property_Gtk_Justification;
Pattern_Property : constant Glib.Properties.Property_String;
Wrap_Property : constant Glib.Properties.Property_Boolean;
Wrap_Mode_Property : constant Glib.Properties.Property_Enum;
Selectable_Property : constant Glib.Properties.Property_Boolean;
Mnemonic_Keyval_Property : constant Glib.Properties.Property_Uint_RO;
Mnemonic_Widget_Property : constant Glib.Properties.Property_Object;
Angle_Property : constant Glib.Properties.Property_Double;
Cursor_Position_Property : constant Glib.Properties.Property_Int;
Max_Width_Chars_Property : constant Glib.Properties.Property_Int;
Selection_Bound_Property : constant Glib.Properties.Property_Int;
Single_Line_Mode_Property : constant Glib.Properties.Property_Boolean;
Width_Chars_Property : constant Glib.Properties.Property_Int;
Signal_Copy_Clipboard : constant Glib.Signal_Name := "copy_clipboard";
Signal_Move_Cursor : constant Glib.Signal_Name := "move_cursor";
Signal_Populate_Popup : constant Glib.Signal_Name := "populate_popup";
procedure Gtk_New
( | Label | : out Gtk_Label; |
Str | : UTF8_String := ""); |
procedure Initialize
( | Label | : access Gtk_Label_Record'Class; |
Str | : UTF8_String); |
procedure Gtk_New_With_Mnemonic
( | Label | : out Gtk_Label; |
Str | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Label | : access Gtk_Label_Record'Class; |
Str | : UTF8_String); |
function Get_Type return Glib.GType;
procedure Set_Justify
( | Label | : access Gtk_Label_Record; |
Jtype | : Enums.Gtk_Justification); |
function Get_Justify
( | Label | : access Gtk_Label_Record) return Enums.Gtk_Justification; |
procedure Set_Line_Wrap
( | Label | : access Gtk_Label_Record; |
Wrap | : Boolean); |
function Get_Line_Wrap
( | Label | : access Gtk_Label_Record) return Boolean; |
procedure Set_Line_Wrap_Mode
( | Label | : access Gtk_Label_Record; |
Wrap_Mode | : Pango.Layout.Pango_Wrap_Mode); |
function Get_Line_Wrap_Mode
( | Label | : access Gtk_Label_Record) return Pango.Layout.Pango_Wrap_Mode; |
procedure Set_Selectable
( | Label | : access Gtk_Label_Record; |
Selectable | : Boolean); |
function Get_Selectable
( | Label | : access Gtk_Label_Record) return Boolean; |
procedure Set_Use_Markup
( | Label | : access Gtk_Label_Record; |
Markup | : Boolean); |
function Get_Use_Markup
( | Label | : access Gtk_Label_Record) return Boolean; |
procedure Set_Use_Underline
( | Label | : access Gtk_Label_Record; |
Underline | : Boolean); |
function Get_Use_Underline
( | Label | : access Gtk_Label_Record) return Boolean; |
procedure Set_Angle
( | Label | : access Gtk_Label_Record; |
Angle | : Gdouble); |
function Get_Angle
( | Label | : access Gtk_Label_Record) return Gdouble; |
procedure Set_Ellipsize
( | Label | : access Gtk_Label_Record; |
Mode | : Pango.Layout.Pango_Ellipsize_Mode); |
function Get_Ellipsize
( | Label | : access Gtk_Label_Record) return Pango.Layout.Pango_Ellipsize_Mode; |
procedure Set_Text
( | Label | : access Gtk_Label_Record; |
Str | : UTF8_String); |
function Get_Text
( | Label | : access Gtk_Label_Record) return UTF8_String; |
procedure Set_Label
( | Label | : access Gtk_Label_Record; |
Str | : String); |
function Get_Label
( | Label | : access Gtk_Label_Record) return String; |
function Get_Layout
( | Label | : access Gtk_Label_Record) return Pango.Layout.Pango_Layout; |
procedure Get_Layout_Offsets
( | Label | : access Gtk_Label_Record; |
X, Y | : out Gint); |
procedure Set_Max_Width_Chars
( | Label | : access Gtk_Label_Record; |
N_Chars | : Gint); |
function Get_Max_Width_Chars
( | Label | : access Gtk_Label_Record) return Gint; |
procedure Set_Width_Chars
( | Label | : access Gtk_Label_Record; |
N_Chars | : Gint); |
function Get_Width_Chars
( | Label | : access Gtk_Label_Record) return Gint; |
procedure Set_Single_Line_Mode
( | Label | : access Gtk_Label_Record; |
Single_Line_Mode | : Boolean); |
function Get_Single_Line_Mode
( | Label | : access Gtk_Label_Record) return Boolean; |
function Get_Mnemonic_Keyval
( | Label | : access Gtk_Label_Record) return Gdk.Types.Gdk_Key_Type; |
procedure Set_Attributes
( | Label | : access Gtk_Label_Record; |
Attrs | : Pango.Attributes.Pango_Attr_List); |
function Get_Attributes
( | Label | : access Gtk_Label_Record) return Pango.Attributes.Pango_Attr_List; |
procedure Set_Text_With_Mnemonic
( | Label | : access Gtk_Label_Record; |
Str | : UTF8_String); |
procedure Set_Markup
( | Label | : access Gtk_Label_Record; |
Str | : UTF8_String); |
procedure Set_Markup_With_Mnemonic
( | Label | : access Gtk_Label_Record; |
Str | : UTF8_String); |
procedure Set_Mnemonic_Widget
( | Label | : access Gtk_Label_Record; |
Widget | : access Gtk.Widget.Gtk_Widget_Record'Class); |
function Get_Mnemonic_Widget
( | Label | : access Gtk_Label_Record) return Gtk.Widget.Gtk_Widget; |
procedure Select_Region
( | Label | : access Gtk_Label_Record; |
Start_Offset | : Integer := -1; | |
End_Offset | : Integer := -1); |
procedure Get_Selection_Bounds
( | Label | : access Gtk_Label_Record; |
First, Last | : out Gint; | |
Has_Selection | : out Boolean); |
procedure Set_Pattern
( | Label | : access Gtk_Label_Record; |
Pattern | : String); |
function Get
( | Label | : access Gtk_Label_Record) return UTF8_String renames Get_Text; |
Binding from C File version 2.8.17
<testgtk>create_label.adb</testgtk>