An auxiliary class used by GtkStack.
<group>Layout containers</group> <gtkada_demo>create_stack.adb</gtkada_demo> <see>Gtk.Stack</see>
function "+"
(Widget : access Gtk_Stack_Page_Record'Class)
return Gtk.Accessible.Gtk_Accessible
function "-"
(Interf : Gtk.Accessible.Gtk_Accessible)
return Gtk_Stack_Page
procedure Announce
(Self : not null access Gtk_Stack_Page_Record;
Message : UTF8_String;
Priority : Gtk.Accessible.Gtk_Accessible_Announcement_Priority)
Child_Property : constant Glib.Properties.Property_Object;
Type: Gtk.Widget.Gtk_Widget The child that this page is for.
function Get_Accessible_Id
(Self : not null access Gtk_Stack_Page_Record) return UTF8_String
function Get_Accessible_Parent
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Accessible_Role
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Accessible.Gtk_Accessible_Role
function Get_At_Context
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Atcontext.Gtk_Atcontext
function Get_Bounds
(Self : not null access Gtk_Stack_Page_Record;
X : out Glib.Gint;
Y : out Glib.Gint;
Width : out Glib.Gint;
Height : out Glib.Gint) return Boolean
function Get_Child
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Widget.Gtk_Widget
Returns the stack child to which Self belongs.
the child to which Self belongs. Has transfer-ownership='none'.
function Get_First_Accessible_Child
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Icon_Name
(Self : not null access Gtk_Stack_Page_Record) return UTF8_String
Returns the icon name of the page.
The value of the [propertyGtk.StackPage:icon-name] property
function Get_Name
(Self : not null access Gtk_Stack_Page_Record) return UTF8_String
Returns the name of the page.
The value of the [propertyGtk.StackPage:name] property
function Get_Needs_Attention
(Self : not null access Gtk_Stack_Page_Record) return Boolean
Returns whether the page is marked as "needs attention".
The value of the [propertyGtk.StackPage:needs-attention] property.
function Get_Next_Accessible_Sibling
(Self : not null access Gtk_Stack_Page_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Platform_State
(Self : not null access Gtk_Stack_Page_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State) return Boolean
function Get_Title
(Self : not null access Gtk_Stack_Page_Record) return UTF8_String
Gets the page title.
The value of the [propertyGtk.StackPage:title] property
function Get_Type return Glib.GType
function Get_Use_Underline
(Self : not null access Gtk_Stack_Page_Record) return Boolean
Gets whether underlines in the page title indicate mnemonics.
The value of the [propertyGtk.StackPage:use-underline] property
function Get_Visible
(Self : not null access Gtk_Stack_Page_Record) return Boolean
Returns whether Page is visible in its GtkStack. This is independent from the [propertyGtk.Widget:visible] property of its widget.
True if Page is visible
type Gtk_Stack_Page is access all Gtk_Stack_Page_Record'Class;
type Gtk_Stack_Page_Record is new GObject_Record with null record;
Icon_Name_Property : constant Glib.Properties.Property_String;
The icon name of the child page.
package Implements_Gtk_Accessible is new Glib.Types.Implements
(Gtk.Accessible.Gtk_Accessible, Gtk_Stack_Page_Record, Gtk_Stack_Page);
Name_Property : constant Glib.Properties.Property_String;
The name of the child page.
Needs_Attention_Property : constant Glib.Properties.Property_Boolean;
Whether the page requires the user attention.
This is used by the [classGtk.StackSwitcher] to change the appearance of the corresponding button when a page needs attention and it is not the current one.
procedure Reset_Property
(Self : not null access Gtk_Stack_Page_Record;
Property : Gtk.Accessible.Gtk_Accessible_Property)
procedure Reset_Relation
(Self : not null access Gtk_Stack_Page_Record;
Relation : Gtk.Accessible.Gtk_Accessible_Relation)
procedure Reset_State
(Self : not null access Gtk_Stack_Page_Record;
State : Gtk.Accessible.Gtk_Accessible_State)
procedure Set_Accessible_Parent
(Self : not null access Gtk_Stack_Page_Record;
Parent : Gtk.Accessible.Gtk_Accessible;
Next_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Set_Icon_Name
(Self : not null access Gtk_Stack_Page_Record;
Setting : UTF8_String)
Sets the icon name of the page.
the new value to set
procedure Set_Name
(Self : not null access Gtk_Stack_Page_Record;
Setting : UTF8_String)
Sets the name of the page.
the new value to set
procedure Set_Needs_Attention
(Self : not null access Gtk_Stack_Page_Record;
Setting : Boolean)
Sets whether the page is marked as "needs attention".
the new value to set
procedure Set_Title
(Self : not null access Gtk_Stack_Page_Record;
Setting : UTF8_String)
Sets the page title.
the new value to set
procedure Set_Use_Underline
(Self : not null access Gtk_Stack_Page_Record;
Setting : Boolean)
Sets whether underlines in the page title indicate mnemonics.
the new value to set
procedure Set_Visible
(Self : not null access Gtk_Stack_Page_Record;
Visible : Boolean)
Sets whether Page is visible in its GtkStack.
The new property value
Title_Property : constant Glib.Properties.Property_String;
The title of the child page.
procedure Update_Next_Accessible_Sibling
(Self : not null access Gtk_Stack_Page_Record;
New_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Update_Platform_State
(Self : not null access Gtk_Stack_Page_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State)
Use_Underline_Property : constant Glib.Properties.Property_Boolean;
If set, an underline in the title indicates a mnemonic.
Visible_Property : constant Glib.Properties.Property_Boolean;
Whether this page is visible.