Index

Package: Icon_View

Description

package Gtk.Icon_View is

Gtk.Icon_View.Gtk_Icon_View provides an alternative view on a Gtk.Tree_Model.Gtk_Tree_Model. It displays the model as a grid of icons with labels. Like Gtk.Tree_View.Gtk_Tree_View, it allows to select one or multiple items (depending on the selection mode, see Gtk.Icon_View.Set_Selection_Mode). In addition to selection with the arrow keys, Gtk.Icon_View.Gtk_Icon_View supports rubberband selection, which is controlled by dragging the pointer.

Note that if the tree model is backed by an actual tree store (as opposed to a flat list where the mapping to icons is obvious), Gtk.Icon_View.Gtk_Icon_View will only display the first level of the tree and ignore the tree's branches.

Packages

Gtk_Icon_View_Drop_Position_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

package Gtk_Icon_View_Drop_Position_Properties is
      new Generic_Internal_Discrete_Property (Gtk_Icon_View_Drop_Position);

Selected_Foreach_User_Data (generic)

Set_Cell_Data_Func_User_Data (generic)

Implements_Gtk_Buildable (new Glib.Types.Implements)

Implements_Gtk_Cell_Layout (new Glib.Types.Implements)

Implements_Gtk_Scrollable (new Glib.Types.Implements)

Classes

Gtk_Icon_View_Record

type Gtk_Icon_View_Record is new Gtk_Container_Record with null record;

Ancestors:

Primitive operations:

Add_Attribute
Clear_Attributes
Convert_Widget_To_Bin_Window_Coords
Create_Drag_Icon
Enable_Model_Drag_Dest
Enable_Model_Drag_Source
Get_Activate_On_Single_Click
Get_Cell_Rect
Get_Column_Spacing
Get_Dest_Item_At_Pos
Get_Drag_Dest_Item
Get_Hadjustment
Get_Hscroll_Policy
Get_Item_At_Pos
Get_Item_Column
Get_Item_Orientation
Get_Item_Padding
Get_Item_Row
Get_Item_Width
Get_Markup_Column
Get_Path_At_Pos
Get_Pixbuf_Column
Get_Reorderable
Get_Row_Spacing
Get_Selected_Items
Get_Selection_Mode
Get_Text_Column
Get_Tooltip_Column
Get_Tooltip_Context
Get_Vadjustment
Get_Visible_Range
Get_Vscroll_Policy
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Container.Add (Inherited)
Gtk.Container.Check_Resize (Inherited)
Gtk.Container.Child_Get_Property (Inherited)
Gtk.Container.Child_Notify (Inherited)
Gtk.Container.Child_Set_Property (Inherited)
Gtk.Container.Child_Type (Inherited)
Gtk.Container.Forall (Inherited)
Gtk.Container.Foreach (Inherited)
Gtk.Container.Get_Border_Width (Inherited)
Gtk.Container.Get_Children (Inherited)
Gtk.Container.Get_Focus_Child (Inherited)
Gtk.Container.Get_Focus_Hadjustment (Inherited)
Gtk.Container.Get_Focus_Vadjustment (Inherited)
Gtk.Container.Get_Path_For_Child (Inherited)
Gtk.Container.Get_Resize_Mode (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.Propagate_Draw (Inherited)
Gtk.Container.Remove (Inherited)
Gtk.Container.Resize_Children (Inherited)
Gtk.Container.Set_Border_Width (Inherited)
Gtk.Container.Set_Focus_Chain (Inherited)
Gtk.Container.Set_Focus_Child (Inherited)
Gtk.Container.Set_Focus_Hadjustment (Inherited)
Gtk.Container.Set_Focus_Vadjustment (Inherited)
Gtk.Container.Set_Reallocate_Redraws (Inherited)
Gtk.Container.Set_Resize_Mode (Inherited)
Gtk.Container.Unset_Focus_Chain (Inherited)
Gtk.Widget.Activate (Inherited)
Gtk.Widget.Add_Accelerator (Inherited)
Gtk.Widget.Add_Device_Events (Inherited)
Gtk.Widget.Add_Events (Inherited)
Gtk.Widget.Add_Mnemonic_Label (Inherited)
Gtk.Widget.Add_Tick_Callback (Inherited)
Gtk.Widget.Can_Activate_Accel (Inherited)
Gtk.Widget.Child_Focus (Inherited)
Gtk.Widget.Child_Notify (Inherited)
Gtk.Widget.Compute_Expand (Inherited)
Gtk.Widget.Create_Pango_Context (Inherited)
Gtk.Widget.Create_Pango_Layout (Inherited)
Gtk.Widget.Destroy (Inherited)
Gtk.Widget.Destroyed (Inherited)
Gtk.Widget.Device_Is_Shadowed (Inherited)
Gtk.Widget.Drag_Check_Threshold (Inherited)
Gtk.Widget.Drag_Dest_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Text_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Dest_Get_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Set_Proxy (Inherited)
Gtk.Widget.Drag_Dest_Set_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Unset (Inherited)
Gtk.Widget.Drag_Get_Data (Inherited)
Gtk.Widget.Drag_Highlight (Inherited)
Gtk.Widget.Drag_Source_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Source_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Source_Set_Icon_Pixbuf (Inherited)
Gtk.Widget.Drag_Source_Unset (Inherited)
Gtk.Widget.Drag_Unhighlight (Inherited)
Gtk.Widget.Draw (Inherited)
Gtk.Widget.Ensure_Style (Inherited)
Gtk.Widget.Error_Bell (Inherited)
Gtk.Widget.Event (Inherited)
Gtk.Widget.Freeze_Child_Notify (Inherited)
Gtk.Widget.Get_Allocated_Height (Inherited)
Gtk.Widget.Get_Allocated_Width (Inherited)
Gtk.Widget.Get_Allocation (Inherited)
Gtk.Widget.Get_Ancestor (Inherited)
Gtk.Widget.Get_App_Paintable (Inherited)
Gtk.Widget.Get_Can_Default (Inherited)
Gtk.Widget.Get_Can_Focus (Inherited)
Gtk.Widget.Get_Child_Requisition (Inherited)
Gtk.Widget.Get_Child_Visible (Inherited)
Gtk.Widget.Get_Composite_Name (Inherited)
Gtk.Widget.Get_Device_Enabled (Inherited)
Gtk.Widget.Get_Device_Events (Inherited)
Gtk.Widget.Get_Direction (Inherited)
Gtk.Widget.Get_Display (Inherited)
Gtk.Widget.Get_Double_Buffered (Inherited)
Gtk.Widget.Get_Events (Inherited)
Gtk.Widget.Get_Frame_Clock (Inherited)
Gtk.Widget.Get_Halign (Inherited)
Gtk.Widget.Get_Has_Tooltip (Inherited)
Gtk.Widget.Get_Has_Window (Inherited)
Gtk.Widget.Get_Hexpand (Inherited)
Gtk.Widget.Get_Hexpand_Set (Inherited)
Gtk.Widget.Get_Mapped (Inherited)
Gtk.Widget.Get_Margin_Bottom (Inherited)
Gtk.Widget.Get_Margin_Left (Inherited)
Gtk.Widget.Get_Margin_Right (Inherited)
Gtk.Widget.Get_Margin_Top (Inherited)
Gtk.Widget.Get_Modifier_Mask (Inherited)
Gtk.Widget.Get_Name (Inherited)
Gtk.Widget.Get_No_Show_All (Inherited)
Gtk.Widget.Get_Opacity (Inherited)
Gtk.Widget.Get_Pango_Context (Inherited)
Gtk.Widget.Get_Parent (Inherited)
Gtk.Widget.Get_Parent_Window (Inherited)
Gtk.Widget.Get_Path (Inherited)
Gtk.Widget.Get_Pointer (Inherited)
Gtk.Widget.Get_Preferred_Height (Inherited)
Gtk.Widget.Get_Preferred_Height_For_Width (Inherited)
Gtk.Widget.Get_Preferred_Size (Inherited)
Gtk.Widget.Get_Preferred_Width (Inherited)
Gtk.Widget.Get_Preferred_Width_For_Height (Inherited)
Gtk.Widget.Get_Realized (Inherited)
Gtk.Widget.Get_Receives_Default (Inherited)
Gtk.Widget.Get_Request_Mode (Inherited)
Gtk.Widget.Get_Requisition (Inherited)
Gtk.Widget.Get_Root_Window (Inherited)
Gtk.Widget.Get_Screen (Inherited)
Gtk.Widget.Get_Sensitive (Inherited)
Gtk.Widget.Get_Size_Request (Inherited)
Gtk.Widget.Get_State (Inherited)
Gtk.Widget.Get_State_Flags (Inherited)
Gtk.Widget.Get_Style (Inherited)
Gtk.Widget.Get_Support_Multidevice (Inherited)
Gtk.Widget.Get_Tooltip_Markup (Inherited)
Gtk.Widget.Get_Tooltip_Text (Inherited)
Gtk.Widget.Get_Tooltip_Window (Inherited)
Gtk.Widget.Get_Toplevel (Inherited)
Gtk.Widget.Get_Valign (Inherited)
Gtk.Widget.Get_Vexpand (Inherited)
Gtk.Widget.Get_Vexpand_Set (Inherited)
Gtk.Widget.Get_Visible (Inherited)
Gtk.Widget.Get_Visual (Inherited)
Gtk.Widget.Get_Window (Inherited)
Gtk.Widget.Grab_Add (Inherited)
Gtk.Widget.Grab_Default (Inherited)
Gtk.Widget.Grab_Focus (Inherited)
Gtk.Widget.Grab_Remove (Inherited)
Gtk.Widget.Has_Default (Inherited)
Gtk.Widget.Has_Focus (Inherited)
Gtk.Widget.Has_Grab (Inherited)
Gtk.Widget.Has_Rc_Style (Inherited)
Gtk.Widget.Has_Screen (Inherited)
Gtk.Widget.Has_Visible_Focus (Inherited)
Gtk.Widget.Hide (Inherited)
Gtk.Widget.Hide_On_Delete (Inherited)
Gtk.Widget.In_Destruction (Inherited)
Gtk.Widget.Input_Shape_Combine_Region (Inherited)
Gtk.Widget.Intersect (Inherited)
Gtk.Widget.Is_Ancestor (Inherited)
Gtk.Widget.Is_Composited (Inherited)
Gtk.Widget.Is_Drawable (Inherited)
Gtk.Widget.Is_Focus (Inherited)
Gtk.Widget.Is_Sensitive (Inherited)
Gtk.Widget.Is_Toplevel (Inherited)
Gtk.Widget.Is_Visible (Inherited)
Gtk.Widget.Keynav_Failed (Inherited)
Gtk.Widget.List_Mnemonic_Labels (Inherited)
Gtk.Widget.Map (Inherited)
Gtk.Widget.Mnemonic_Activate (Inherited)
Gtk.Widget.Modify_Base (Inherited)
Gtk.Widget.Modify_Bg (Inherited)
Gtk.Widget.Modify_Cursor (Inherited)
Gtk.Widget.Modify_Fg (Inherited)
Gtk.Widget.Modify_Font (Inherited)
Gtk.Widget.Modify_Text (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.Override_Background_Color (Inherited)
Gtk.Widget.Override_Color (Inherited)
Gtk.Widget.Override_Cursor (Inherited)
Gtk.Widget.Override_Font (Inherited)
Gtk.Widget.Override_Symbolic_Color (Inherited)
Gtk.Widget.Queue_Compute_Expand (Inherited)
Gtk.Widget.Queue_Draw (Inherited)
Gtk.Widget.Queue_Draw_Area (Inherited)
Gtk.Widget.Queue_Draw_Region (Inherited)
Gtk.Widget.Queue_Resize (Inherited)
Gtk.Widget.Queue_Resize_No_Redraw (Inherited)
Gtk.Widget.Realize (Inherited)
Gtk.Widget.Region_Intersect (Inherited)
Gtk.Widget.Register_Window (Inherited)
Gtk.Widget.Remove_Accelerator (Inherited)
Gtk.Widget.Remove_Mnemonic_Label (Inherited)
Gtk.Widget.Remove_Tick_Callback (Inherited)
Gtk.Widget.Render_Icon (Inherited)
Gtk.Widget.Render_Icon_Pixbuf (Inherited)
Gtk.Widget.Reparent (Inherited)
Gtk.Widget.Reset_Rc_Styles (Inherited)
Gtk.Widget.Reset_Style (Inherited)
Gtk.Widget.Send_Expose (Inherited)
Gtk.Widget.Send_Focus_Change (Inherited)
Gtk.Widget.Set_Accel_Path (Inherited)
Gtk.Widget.Set_Allocation (Inherited)
Gtk.Widget.Set_App_Paintable (Inherited)
Gtk.Widget.Set_Can_Default (Inherited)
Gtk.Widget.Set_Can_Focus (Inherited)
Gtk.Widget.Set_Child_Visible (Inherited)
Gtk.Widget.Set_Composite_Name (Inherited)
Gtk.Widget.Set_Device_Enabled (Inherited)
Gtk.Widget.Set_Device_Events (Inherited)
Gtk.Widget.Set_Direction (Inherited)
Gtk.Widget.Set_Double_Buffered (Inherited)
Gtk.Widget.Set_Events (Inherited)
Gtk.Widget.Set_Halign (Inherited)
Gtk.Widget.Set_Has_Tooltip (Inherited)
Gtk.Widget.Set_Has_Window (Inherited)
Gtk.Widget.Set_Hexpand (Inherited)
Gtk.Widget.Set_Hexpand_Set (Inherited)
Gtk.Widget.Set_Mapped (Inherited)
Gtk.Widget.Set_Margin_Bottom (Inherited)
Gtk.Widget.Set_Margin_Left (Inherited)
Gtk.Widget.Set_Margin_Right (Inherited)
Gtk.Widget.Set_Margin_Top (Inherited)
Gtk.Widget.Set_Name (Inherited)
Gtk.Widget.Set_No_Show_All (Inherited)
Gtk.Widget.Set_Opacity (Inherited)
Gtk.Widget.Set_Parent (Inherited)
Gtk.Widget.Set_Parent_Window (Inherited)
Gtk.Widget.Set_Realized (Inherited)
Gtk.Widget.Set_Receives_Default (Inherited)
Gtk.Widget.Set_Redraw_On_Allocate (Inherited)
Gtk.Widget.Set_Sensitive (Inherited)
Gtk.Widget.Set_Size_Request (Inherited)
Gtk.Widget.Set_State (Inherited)
Gtk.Widget.Set_State_Flags (Inherited)
Gtk.Widget.Set_Style (Inherited)
Gtk.Widget.Set_Support_Multidevice (Inherited)
Gtk.Widget.Set_Tooltip_Markup (Inherited)
Gtk.Widget.Set_Tooltip_Text (Inherited)
Gtk.Widget.Set_Tooltip_Window (Inherited)
Gtk.Widget.Set_Valign (Inherited)
Gtk.Widget.Set_Vexpand (Inherited)
Gtk.Widget.Set_Vexpand_Set (Inherited)
Gtk.Widget.Set_Visible (Inherited)
Gtk.Widget.Set_Visual (Inherited)
Gtk.Widget.Set_Window (Inherited)
Gtk.Widget.Shape_Combine_Region (Inherited)
Gtk.Widget.Show (Inherited)
Gtk.Widget.Show_All (Inherited)
Gtk.Widget.Show_Now (Inherited)
Gtk.Widget.Size_Allocate (Inherited)
Gtk.Widget.Size_Request (Inherited)
Gtk.Widget.Style_Attach (Inherited)
Gtk.Widget.Style_Get_Property (Inherited)
Gtk.Widget.Thaw_Child_Notify (Inherited)
Gtk.Widget.Translate_Coordinates (Inherited)
Gtk.Widget.Trigger_Tooltip_Query (Inherited)
Gtk.Widget.Unmap (Inherited)
Gtk.Widget.Unparent (Inherited)
Gtk.Widget.Unrealize (Inherited)
Gtk.Widget.Unregister_Window (Inherited)
Gtk.Widget.Unset_State_Flags (Inherited)
Item_Activated
On_Activate_Cursor_Item
On_Activate_Cursor_Item
On_Item_Activated
On_Item_Activated
On_Move_Cursor
On_Move_Cursor
On_Select_All
On_Select_All
On_Select_Cursor_Item
On_Select_Cursor_Item
On_Selection_Changed
On_Selection_Changed
On_Toggle_Cursor_Item
On_Toggle_Cursor_Item
On_Unselect_All
On_Unselect_All
Path_Is_Selected
Scroll_To_Path
Selected_Foreach
Set_Activate_On_Single_Click
Set_Cell_Data_Func
Set_Column_Spacing
Set_Drag_Dest_Item
Set_Hadjustment
Set_Hscroll_Policy
Set_Item_Orientation
Set_Item_Padding
Set_Item_Width
Set_Markup_Column
Set_Pixbuf_Column
Set_Reorderable
Set_Row_Spacing
Set_Selection_Mode
Set_Text_Column
Set_Tooltip_Cell
Set_Tooltip_Column
Set_Tooltip_Item
Set_Vadjustment
Set_Vscroll_Policy
Unselect_All
Unselect_Path
Unset_Model_Drag_Dest
Unset_Model_Drag_Source

Types

Gtk_Icon_View

type Gtk_Icon_View is access all Gtk_Icon_View_Record'Class;

Gtk_Icon_View_Drop_Position

type Gtk_Icon_View_Drop_Position is (
      No_Drop,
      Drop_Into,
      Drop_Left,
      Drop_Right,
      Drop_Above,
      Drop_Below);

Gtk_Icon_View_Foreach_Func

type Gtk_Icon_View_Foreach_Func is access procedure
     (Icon_View : not null access Gtk_Icon_View_Record'Class;
      Path      : Gtk.Tree_Model.Gtk_Tree_Path);
A function used by Gtk.Icon_View.Selected_Foreach to map all selected rows. It will be called on every selected row in the view. "icon_view": a Gtk.Icon_View.Gtk_Icon_View "path": The Gtk.Tree_Model.Gtk_Tree_Path of a selected row

Gtk_Cell_Layout_Data_Func

type Gtk_Cell_Layout_Data_Func is access procedure
     (Cell_Layout : Gtk.Cell_Layout.Gtk_Cell_Layout;
      Cell        : not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
      Tree_Model  : Gtk.Tree_Model.Gtk_Tree_Model;
      Iter        : Gtk.Tree_Model.Gtk_Tree_Iter);
A function which should set the value of Cell_Layout's cell renderer(s) as appropriate. "cell_layout": a Gtk.Cell_Layout.Gtk_Cell_Layout "cell": the cell renderer whose value is to be set "tree_model": the model "iter": a Gtk.Tree_Model.Gtk_Tree_Iter indicating the row to set the value for

Property_Gtk_Icon_View_Drop_Position

type Property_Gtk_Icon_View_Drop_Position is new Gtk_Icon_View_Drop_Position_Properties.Property;

Cb_Gtk_Icon_View_Boolean

type Cb_Gtk_Icon_View_Boolean is not null access function
     (Self : access Gtk_Icon_View_Record'Class) return Boolean;

Cb_GObject_Boolean

type Cb_GObject_Boolean is not null access function
     (Self : access Glib.Object.GObject_Record'Class)
   return Boolean;

Cb_Gtk_Icon_View_Gtk_Tree_Path_Void

type Cb_Gtk_Icon_View_Gtk_Tree_Path_Void is not null access procedure
     (Self : access Gtk_Icon_View_Record'Class;
      Path : Gtk.Tree_Model.Gtk_Tree_Path);

Cb_GObject_Gtk_Tree_Path_Void

type Cb_GObject_Gtk_Tree_Path_Void is not null access procedure
     (Self : access Glib.Object.GObject_Record'Class;
      Path : Gtk.Tree_Model.Gtk_Tree_Path);

Cb_Gtk_Icon_View_Gtk_Movement_Step_Gint_Boolean

type Cb_Gtk_Icon_View_Gtk_Movement_Step_Gint_Boolean is not null access function
     (Self  : access Gtk_Icon_View_Record'Class;
      Step  : Gtk.Enums.Gtk_Movement_Step;
      Count : Gint) return Boolean;

Cb_GObject_Gtk_Movement_Step_Gint_Boolean

type Cb_GObject_Gtk_Movement_Step_Gint_Boolean is not null access function
     (Self  : access Glib.Object.GObject_Record'Class;
      Step  : Gtk.Enums.Gtk_Movement_Step;
      Count : Gint) return Boolean;

Cb_Gtk_Icon_View_Void

type Cb_Gtk_Icon_View_Void is not null access procedure (Self : access Gtk_Icon_View_Record'Class);

Cb_GObject_Void

type Cb_GObject_Void is not null access procedure
     (Self : access Glib.Object.GObject_Record'Class);

Constants & Global variables

Activate_On_Single_Click_Property (Glib.Properties.Property_Boolean)

Activate_On_Single_Click_Property : constant Glib.Properties.Property_Boolean;
The activate-on-single-click property specifies whether the "item-activated" signal will be emitted after a single click.

Cell_Area_Property (Glib.Properties.Property_Object)

Cell_Area_Property : constant Glib.Properties.Property_Object;
Type: Gtk.Cell_Area.Gtk_Cell_Area The Gtk.Cell_Area.Gtk_Cell_Area used to layout cell renderers for this view. If no area is specified when creating the icon view with Gtk.Icon_View.Gtk_New_With_Area a Gtk.Cell_Area_Box.Gtk_Cell_Area_Box will be used.

Column_Spacing_Property (Glib.Properties.Property_Int)

Column_Spacing_Property : constant Glib.Properties.Property_Int;
The column-spacing property specifies the space which is inserted between the columns of the icon view.

Columns_Property (Glib.Properties.Property_Int)

Columns_Property : constant Glib.Properties.Property_Int;
The columns property contains the number of the columns in which the items should be displayed. If it is -1, the number of columns will be chosen automatically to fill the available area.

Item_Orientation_Property (Gtk.Enums.Property_Gtk_Orientation)

Item_Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;
The item-orientation property specifies how the cells (i.e. the icon and the text) of the item are positioned relative to each other.

Item_Padding_Property (Glib.Properties.Property_Int)

Item_Padding_Property : constant Glib.Properties.Property_Int;
The item-padding property specifies the padding around each of the icon view's item.

Item_Width_Property (Glib.Properties.Property_Int)

Item_Width_Property : constant Glib.Properties.Property_Int;
The item-width property specifies the width to use for each item. If it is set to -1, the icon view will automatically determine a suitable item size.

Margin_Property (Glib.Properties.Property_Int)

Margin_Property : constant Glib.Properties.Property_Int;
The margin property specifies the space which is inserted at the edges of the icon view.

Markup_Column_Property (Glib.Properties.Property_Int)

Markup_Column_Property : constant Glib.Properties.Property_Int;
The ::markup-column property contains the number of the model column containing markup information to be displayed. The markup column must be of type G_TYPE_STRING. If this property and the :text-column property are both set to column numbers, it overrides the text column. If both are set to -1, no texts are displayed.

Pixbuf_Column_Property (Glib.Properties.Property_Int)

Pixbuf_Column_Property : constant Glib.Properties.Property_Int;
The ::pixbuf-column property contains the number of the model column containing the pixbufs which are displayed. The pixbuf column must be of type GDK_TYPE_PIXBUF. Setting this property to -1 turns off the display of pixbufs.

Reorderable_Property (Glib.Properties.Property_Boolean)

Reorderable_Property : constant Glib.Properties.Property_Boolean;
The reorderable property specifies if the items can be reordered by DND.

Row_Spacing_Property (Glib.Properties.Property_Int)

Row_Spacing_Property : constant Glib.Properties.Property_Int;
The row-spacing property specifies the space which is inserted between the rows of the icon view.

Selection_Mode_Property (Gtk.Enums.Property_Gtk_Selection_Mode)

Selection_Mode_Property : constant Gtk.Enums.Property_Gtk_Selection_Mode;
The ::selection-mode property specifies the selection mode of icon view. If the mode is GTK_SELECTION_MULTIPLE, rubberband selection is enabled, for the other modes, only keyboard selection is possible.

Spacing_Property (Glib.Properties.Property_Int)

Spacing_Property : constant Glib.Properties.Property_Int;
The spacing property specifies the space which is inserted between the cells (i.e. the icon and the text) of an item.

Text_Column_Property (Glib.Properties.Property_Int)

Text_Column_Property : constant Glib.Properties.Property_Int;
The ::text-column property contains the number of the model column containing the texts which are displayed. The text column must be of type G_TYPE_STRING. If this property and the :markup-column property are both set to -1, no texts are displayed.

Tooltip_Column_Property (Glib.Properties.Property_Int)

Tooltip_Column_Property : constant Glib.Properties.Property_Int;

Signal_Activate_Cursor_Item (Glib.Signal_Name)

Signal_Activate_Cursor_Item : constant Glib.Signal_Name := "activate-cursor-item";

Signal_Item_Activated (Glib.Signal_Name)

Signal_Item_Activated : constant Glib.Signal_Name := "item-activated";

Signal_Move_Cursor (Glib.Signal_Name)

Signal_Move_Cursor : constant Glib.Signal_Name := "move-cursor";

Signal_Select_All (Glib.Signal_Name)

Signal_Select_All : constant Glib.Signal_Name := "select-all";

Signal_Select_Cursor_Item (Glib.Signal_Name)

Signal_Select_Cursor_Item : constant Glib.Signal_Name := "select-cursor-item";

Signal_Selection_Changed (Glib.Signal_Name)

Signal_Selection_Changed : constant Glib.Signal_Name := "selection-changed";

Signal_Toggle_Cursor_Item (Glib.Signal_Name)

Signal_Toggle_Cursor_Item : constant Glib.Signal_Name := "toggle-cursor-item";

Signal_Unselect_All (Glib.Signal_Name)

Signal_Unselect_All : constant Glib.Signal_Name := "unselect-all";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Icon_View: out Gtk_Icon_View);

Initialize

procedure Initialize 
(Icon_View: not null access Gtk_Icon_View_Record'Class);
Creates a new Gtk.Icon_View.Gtk_Icon_View widget Since: gtk+ 2.6

Gtk_Icon_View_New

function Gtk_Icon_View_New return Gtk_Icon_View;
Creates a new Gtk.Icon_View.Gtk_Icon_View widget Since: gtk+ 2.6

Gtk_New_With_Area

procedure Gtk_New_With_Area 
(Icon_View: out Gtk_Icon_View;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);

Initialize_With_Area

procedure Initialize_With_Area 
(Icon_View: not null access Gtk_Icon_View_Record'Class;
Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class);
Creates a new Gtk.Icon_View.Gtk_Icon_View widget using the specified Area to layout cells inside the icons. Since: gtk+ 3.0 "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cells

Gtk_Icon_View_New_With_Area

function Gtk_Icon_View_New_With_Area 
(Area: not null access Gtk.Cell_Area.Gtk_Cell_Area_Record'Class) return Gtk_Icon_View;
Creates a new Gtk.Icon_View.Gtk_Icon_View widget using the specified Area to layout cells inside the icons. Since: gtk+ 3.0 "area": the Gtk.Cell_Area.Gtk_Cell_Area to use to layout cells

Gtk_New_With_Model

procedure Gtk_New_With_Model 
(Icon_View: out Gtk_Icon_View;
Model: Gtk.Tree_Model.Gtk_Tree_Model);

Initialize_With_Model

procedure Initialize_With_Model 
(Icon_View: not null access Gtk_Icon_View_Record'Class;
Model: Gtk.Tree_Model.Gtk_Tree_Model);
Creates a new Gtk.Icon_View.Gtk_Icon_View widget with the model Model. Since: gtk+ 2.6 "model": The model.

Gtk_Icon_View_New_With_Model

function Gtk_Icon_View_New_With_Model 
(Model: Gtk.Tree_Model.Gtk_Tree_Model) return Gtk_Icon_View;
Creates a new Gtk.Icon_View.Gtk_Icon_View widget with the model Model. Since: gtk+ 2.6 "model": The model.

Get_Type

function Get_Type return Glib.GType;

Convert_Widget_To_Bin_Window_Coords

procedure Convert_Widget_To_Bin_Window_Coords 
(Icon_View: not null access Gtk_Icon_View_Record;
Wx: Gint;
Wy: Gint;
Bx: out Gint;
By: out Gint);
Converts widget coordinates to coordinates for the bin_window, as expected by e.g. Gtk.Icon_View.Get_Path_At_Pos. Since: gtk+ 2.12 "wx": X coordinate relative to the widget "wy": Y coordinate relative to the widget "bx": return location for bin_window X coordinate "by": return location for bin_window Y coordinate

Create_Drag_Icon

function Create_Drag_Icon 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path) return Cairo.Cairo_Surface;
Creates a cairo_surface_t representation of the item at Path. This image is used for a drag icon. Since: gtk+ 2.8 "path": a Gtk.Tree_Model.Gtk_Tree_Path in Icon_View

Get_Activate_On_Single_Click

function Get_Activate_On_Single_Click 
(Icon_View: not null access Gtk_Icon_View_Record) return Boolean;
Gets the setting set by Gtk.Icon_View.Set_Activate_On_Single_Click. Since: gtk+ 3.8

Set_Activate_On_Single_Click

procedure Set_Activate_On_Single_Click 
(Icon_View: not null access Gtk_Icon_View_Record;
Single: Boolean);
Causes the Gtk.Icon_View.Gtk_Icon_View::item-activated signal to be emitted on a single click instead of a double click. Since: gtk+ 3.8 "single": True to emit item-activated on a single click

Get_Cell_Rect

function Get_Cell_Rect 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path;
Cell: access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Rect: access Gdk.Rectangle.Gdk_Rectangle) return Boolean;
Fills the bounding rectangle in widget coordinates for the cell specified by Path and Cell. If Cell is null the main cell area is used. This function is only valid if Icon_View is realized. Since: gtk+ 3.6 "path": a Gtk.Tree_Model.Gtk_Tree_Path "cell": a Gtk.Cell_Renderer.Gtk_Cell_Renderer or null "rect": rectangle to fill with cell rect

Get_Column_Spacing

function Get_Column_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::column-spacing property. Since: gtk+ 2.6

Set_Column_Spacing

procedure Set_Column_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record;
Column_Spacing: Gint);
Sets the ::column-spacing property which specifies the space which is inserted between the columns of the icon view. Since: gtk+ 2.6 "column_spacing": the column spacing

Get_Columns

function Get_Columns 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::columns property. Since: gtk+ 2.6

Set_Columns

procedure Set_Columns 
(Icon_View: not null access Gtk_Icon_View_Record;
Columns: Gint);
Sets the ::columns property which determines in how many columns the icons are arranged. If Columns is -1, the number of columns will be chosen automatically to fill the available area. Since: gtk+ 2.6 "columns": the number of columns

Get_Cursor

procedure Get_Cursor 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: out Gtk.Tree_Model.Gtk_Tree_Path;
Cell: out Gtk.Cell_Renderer.Gtk_Cell_Renderer;
Cursor_Is_Set: out Boolean);
Fills in Path and Cell with the current cursor path and cell. If the cursor isn't currently set, then *Path will be null. If no cell currently has focus, then *Cell will be null. The returned Gtk.Tree_Model.Gtk_Tree_Path must be freed with Gtk.Tree_Model.Path_Free. Since: gtk+ 2.8 "path": Return location for the current cursor path, or null "cell": Return location the current focus cell, or null

Set_Cursor

procedure Set_Cursor 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path;
Cell: access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Start_Editing: Boolean);
Sets the current keyboard focus to be at Path, and selects it. This is useful when you want to focus the user's attention on a particular item. If Cell is not null, then focus is given to the cell specified by it. Additionally, if Start_Editing is True, then editing should be started in the specified cell. This function is often followed by 'gtk_widget_grab_focus (icon_view)' in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized. Since: gtk+ 2.8 "path": A Gtk.Tree_Model.Gtk_Tree_Path "cell": One of the cell renderers of Icon_View, or null "start_editing": True if the specified cell should start being edited.

Get_Dest_Item_At_Pos

procedure Get_Dest_Item_At_Pos 
(Icon_View: not null access Gtk_Icon_View_Record;
Drag_X: Gint;
Drag_Y: Gint;
Path: out Gtk.Tree_Model.Gtk_Tree_Path;
Pos: out Gtk_Icon_View_Drop_Position;
Has_Item: out Boolean);
Determines the destination item for a given position. Since: gtk+ 2.8 "drag_x": the position to determine the destination item for "drag_y": the position to determine the destination item for "path": Return location for the path of the item, or null. "pos": Return location for the drop position, or null

Get_Drag_Dest_Item

procedure Get_Drag_Dest_Item 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: out Gtk.Tree_Model.Gtk_Tree_Path;
Pos: out Gtk_Icon_View_Drop_Position);
Gets information about the item that is highlighted for feedback. Since: gtk+ 2.8 "path": Return location for the path of the highlighted item, or null. "pos": Return location for the drop position, or null

Set_Drag_Dest_Item

procedure Set_Drag_Dest_Item 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path;
Pos: Gtk_Icon_View_Drop_Position);
Sets the item that is highlighted for feedback. Since: gtk+ 2.8 "path": The path of the item to highlight, or null. "pos": Specifies where to drop, relative to the item

Get_Item_At_Pos

procedure Get_Item_At_Pos 
(Icon_View: not null access Gtk_Icon_View_Record;
X: Gint;
Y: Gint;
Path: out Gtk.Tree_Model.Gtk_Tree_Path;
Cell: out Gtk.Cell_Renderer.Gtk_Cell_Renderer;
Has_Item: out Boolean);
Finds the path at the point (X, Y), relative to bin_window coordinates. In contrast to Gtk.Icon_View.Get_Path_At_Pos, this function also obtains the cell at the specified position. The returned path should be freed with Gtk.Tree_Model.Path_Free. See Gtk.Icon_View.Convert_Widget_To_Bin_Window_Coords for converting widget coordinates to bin_window coordinates. Since: gtk+ 2.8 "x": The x position to be identified "y": The y position to be identified "path": Return location for the path, or null "cell": Return location for the renderer responsible for the cell at (X, Y), or null

Get_Item_Column

function Get_Item_Column 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path) return Gint;
Gets the column in which the item Path is currently displayed. Column numbers start at 0. Since: gtk+ 2.22 "path": the Gtk.Tree_Model.Gtk_Tree_Path of the item

Get_Item_Orientation

function Get_Item_Orientation 
(Icon_View: not null access Gtk_Icon_View_Record) return Gtk.Enums.Gtk_Orientation;
Returns the value of the ::item-orientation property which determines whether the labels are drawn beside the icons instead of below. Since: gtk+ 2.6

Set_Item_Orientation

procedure Set_Item_Orientation 
(Icon_View: not null access Gtk_Icon_View_Record;
Orientation: Gtk.Enums.Gtk_Orientation);
Sets the ::item-orientation property which determines whether the labels are drawn beside the icons instead of below. Since: gtk+ 2.6 "orientation": the relative position of texts and icons

Get_Item_Padding

function Get_Item_Padding 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::item-padding property. Since: gtk+ 2.18

Set_Item_Padding

procedure Set_Item_Padding 
(Icon_View: not null access Gtk_Icon_View_Record;
Item_Padding: Gint);
Sets the Gtk.Icon_View.Gtk_Icon_View:item-padding property which specifies the padding around each of the icon view's items. Since: gtk+ 2.18 "item_padding": the item padding

Get_Item_Row

function Get_Item_Row 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path) return Gint;
Gets the row in which the item Path is currently displayed. Row numbers start at 0. Since: gtk+ 2.22 "path": the Gtk.Tree_Model.Gtk_Tree_Path of the item

Get_Item_Width

function Get_Item_Width 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::item-width property. Since: gtk+ 2.6

Set_Item_Width

procedure Set_Item_Width 
(Icon_View: not null access Gtk_Icon_View_Record;
Item_Width: Gint);
Sets the ::item-width property which specifies the width to use for each item. If it is set to -1, the icon view will automatically determine a suitable item size. Since: gtk+ 2.6 "item_width": the width for each item

Get_Margin

function Get_Margin 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::margin property. Since: gtk+ 2.6

Set_Margin

procedure Set_Margin 
(Icon_View: not null access Gtk_Icon_View_Record;
Margin: Gint);
Sets the ::margin property which specifies the space which is inserted at the top, bottom, left and right of the icon view. Since: gtk+ 2.6 "margin": the margin

Get_Markup_Column

function Get_Markup_Column 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the column with markup text for Icon_View. Since: gtk+ 2.6

Set_Markup_Column

procedure Set_Markup_Column 
(Icon_View: not null access Gtk_Icon_View_Record;
Column: Gint);
Sets the column with markup information for Icon_View to be Column. The markup column must be of type G_TYPE_STRING. If the markup column is set to something, it overrides the text column set by Gtk.Icon_View.Set_Text_Column. Since: gtk+ 2.6 "column": A column in the currently used model, or -1 to display no text

Get_Model

function Get_Model 
(Icon_View: not null access Gtk_Icon_View_Record) return Gtk.Tree_Model.Gtk_Tree_Model;
Returns the model the Gtk.Icon_View.Gtk_Icon_View is based on. Returns null if the model is unset. Since: gtk+ 2.6

Set_Model

procedure Set_Model 
(Icon_View: not null access Gtk_Icon_View_Record;
Model: Gtk.Tree_Model.Gtk_Tree_Model);
Sets the model for a Gtk.Icon_View.Gtk_Icon_View. If the Icon_View already has a model set, it will remove it before setting the new model. If Model is null, then it will unset the old model. Since: gtk+ 2.6 "model": The model.

Get_Path_At_Pos

function Get_Path_At_Pos 
(Icon_View: not null access Gtk_Icon_View_Record;
X: Gint;
Y: Gint) return Gtk.Tree_Model.Gtk_Tree_Path;
Finds the path at the point (X, Y), relative to bin_window coordinates. See Gtk.Icon_View.Get_Item_At_Pos, if you are also interested in the cell at the specified position. See Gtk.Icon_View.Convert_Widget_To_Bin_Window_Coords for converting widget coordinates to bin_window coordinates. Since: gtk+ 2.6 "x": The x position to be identified "y": The y position to be identified

Get_Pixbuf_Column

function Get_Pixbuf_Column 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the column with pixbufs for Icon_View. Since: gtk+ 2.6

Set_Pixbuf_Column

procedure Set_Pixbuf_Column 
(Icon_View: not null access Gtk_Icon_View_Record;
Column: Gint);
Sets the column with pixbufs for Icon_View to be Column. The pixbuf column must be of type GDK_TYPE_PIXBUF Since: gtk+ 2.6 "column": A column in the currently used model, or -1 to disable

Get_Reorderable

function Get_Reorderable 
(Icon_View: not null access Gtk_Icon_View_Record) return Boolean;
Retrieves whether the user can reorder the list via drag-and-drop. See Gtk.Icon_View.Set_Reorderable. Since: gtk+ 2.8

Set_Reorderable

procedure Set_Reorderable 
(Icon_View: not null access Gtk_Icon_View_Record;
Reorderable: Boolean);
This function is a convenience function to allow you to reorder models that support the Gtk_Tree_Drag_Source_Iface and the Gtk_Tree_Drag_Dest_Iface. Both Gtk.Tree_Store.Gtk_Tree_Store and Gtk.List_Store.Gtk_List_Store support these. If Reorderable is True, then the user can reorder the model by dragging and dropping rows. The developer can listen to these changes by connecting to the model's row_inserted and row_deleted signals. The reordering is implemented by setting up the icon view as a drag source and destination. Therefore, drag and drop can not be used in a reorderable view for any other purpose. This function does not give you any degree of control over the order -- any reordering is allowed. If more control is needed, you should probably handle drag and drop manually. Since: gtk+ 2.8 "reorderable": True, if the list of items can be reordered.

Get_Row_Spacing

function Get_Row_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::row-spacing property. Since: gtk+ 2.6

Set_Row_Spacing

procedure Set_Row_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record;
Row_Spacing: Gint);
Sets the ::row-spacing property which specifies the space which is inserted between the rows of the icon view. Since: gtk+ 2.6 "row_spacing": the row spacing

Get_Selected_Items

function Get_Selected_Items 
(Icon_View: not null access Gtk_Icon_View_Record) return Gtk.Tree_Model.Gtk_Tree_Path_List.Glist;
Creates a list of paths of all selected items. Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of Gtk.Tree_Row_Reference.Gtk_Tree_Row_Reference<!-- -->s. To do this, you can use gtk_tree_row_reference_new. To free the return value, use: |[ g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free); ]| Since: gtk+ 2.6

Get_Selection_Mode

function Get_Selection_Mode 
(Icon_View: not null access Gtk_Icon_View_Record) return Gtk.Enums.Gtk_Selection_Mode;
Gets the selection mode of the Icon_View. Since: gtk+ 2.6

Set_Selection_Mode

procedure Set_Selection_Mode 
(Icon_View: not null access Gtk_Icon_View_Record;
Mode: Gtk.Enums.Gtk_Selection_Mode);
Sets the selection mode of the Icon_View. Since: gtk+ 2.6 "mode": The selection mode

Get_Spacing

function Get_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the value of the ::spacing property. Since: gtk+ 2.6

Set_Spacing

procedure Set_Spacing 
(Icon_View: not null access Gtk_Icon_View_Record;
Spacing: Gint);
Sets the ::spacing property which specifies the space which is inserted between the cells (i.e. the icon and the text) of an item. Since: gtk+ 2.6 "spacing": the spacing

Get_Text_Column

function Get_Text_Column 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the column with text for Icon_View. Since: gtk+ 2.6

Set_Text_Column

procedure Set_Text_Column 
(Icon_View: not null access Gtk_Icon_View_Record;
Column: Gint);
Sets the column with text for Icon_View to be Column. The text column must be of type G_TYPE_STRING. Since: gtk+ 2.6 "column": A column in the currently used model, or -1 to display no text

Get_Tooltip_Column

function Get_Tooltip_Column 
(Icon_View: not null access Gtk_Icon_View_Record) return Gint;
Returns the column of Icon_View's model which is being used for displaying tooltips on Icon_View's rows. Since: gtk+ 2.12

Set_Tooltip_Column

procedure Set_Tooltip_Column 
(Icon_View: not null access Gtk_Icon_View_Record;
Column: Gint);
If you only plan to have simple (text-only) tooltips on full items, you can use this function to have Gtk.Icon_View.Gtk_Icon_View handle these automatically for you. Column should be set to the column in Icon_View's model containing the tooltip texts, or -1 to disable this feature. When enabled, Gtk.Widget.Gtk_Widget:has-tooltip will be set to True and Icon_View will connect a Gtk.Widget.Gtk_Widget::query-tooltip signal handler. Note that the signal handler sets the text with Gtk.Tooltip.Set_Markup, so &amp;, <, etc have to be escaped in the text. Since: gtk+ 2.12 "column": an integer, which is a valid column number for Icon_View's model

Get_Tooltip_Context

procedure Get_Tooltip_Context 
(Icon_View: not null access Gtk_Icon_View_Record;
X: in out Gint;
Y: in out Gint;
Keyboard_Tip: Boolean;
Model: out Gtk.Tree_Model.Gtk_Tree_Model;
Path: out Gtk.Tree_Model.Gtk_Tree_Path;
Iter: out Gtk.Tree_Model.Gtk_Tree_Iter;
Success: out Boolean);
This function is supposed to be used in a Gtk.Widget.Gtk_Widget::query-tooltip signal handler for Gtk.Icon_View.Gtk_Icon_View. The X, Y and Keyboard_Tip values which are received in the signal handler, should be passed to this function without modification. The return value indicates whether there is an icon view item at the given coordinates (True) or not (False) for mouse tooltips. For keyboard tooltips the item returned will be the cursor item. When True, then any of Model, Path and Iter which have been provided will be set to point to that row and the corresponding model. X and Y will always be converted to be relative to Icon_View's bin_window if Keyboard_Tooltip is False. Since: gtk+ 2.12 "x": the x coordinate (relative to widget coordinates) "y": the y coordinate (relative to widget coordinates) "keyboard_tip": whether this is a keyboard tooltip or not "model": a pointer to receive a Gtk.Tree_Model.Gtk_Tree_Model or null "path": a pointer to receive a Gtk.Tree_Model.Gtk_Tree_Path or null "iter": a pointer to receive a Gtk.Tree_Model.Gtk_Tree_Iter or null

Get_Visible_Range

procedure Get_Visible_Range 
(Icon_View: not null access Gtk_Icon_View_Record;
Start_Path: out Gtk.Tree_Model.Gtk_Tree_Path;
End_Path: out Gtk.Tree_Model.Gtk_Tree_Path);
Sets Start_Path and End_Path to be the first and last visible path. Note that there may be invisible paths in between. Both paths should be freed with Gtk.Tree_Model.Path_Free after use. Since: gtk+ 2.8 "start_path": Return location for start of region, or null "end_path": Return location for end of region, or null

Item_Activated

procedure Item_Activated 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path);
Activates the item determined by Path. Since: gtk+ 2.6 "path": The Gtk.Tree_Model.Gtk_Tree_Path to be activated

Path_Is_Selected

function Path_Is_Selected 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path) return Boolean;
Returns True if the icon pointed to by Path is currently selected. If Path does not point to a valid location, False is returned. Since: gtk+ 2.6 "path": A Gtk.Tree_Model.Gtk_Tree_Path to check selection on.

Scroll_To_Path

procedure Scroll_To_Path 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path;
Use_Align: Boolean;
Row_Align: Gfloat;
Col_Align: Gfloat);
Moves the alignments of Icon_View to the position specified by Path. Row_Align determines where the row is placed, and Col_Align determines where Column is placed. Both are expected to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means center. If Use_Align is False, then the alignment arguments are ignored, and the tree does the minimum amount of work to scroll the item onto the screen. This means that the item will be scrolled to the edge closest to its current position. If the item is currently visible on the screen, nothing is done. This function only works if the model is set, and Path is a valid row on the model. If the model changes before the Icon_View is realized, the centered path will be modified to reflect this change. Since: gtk+ 2.8 "path": The path of the item to move to. "use_align": whether to use alignment arguments, or False. "row_align": The vertical alignment of the item specified by Path. "col_align": The horizontal alignment of the item specified by Path.

Select_All

procedure Select_All 
(Icon_View: not null access Gtk_Icon_View_Record);
Selects all the icons. Icon_View must has its selection mode set to GTK_SELECTION_MULTIPLE. Since: gtk+ 2.6

Select_Path

procedure Select_Path 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path);
Selects the row at Path. Since: gtk+ 2.6 "path": The Gtk.Tree_Model.Gtk_Tree_Path to be selected.

Selected_Foreach

procedure Selected_Foreach 
(Icon_View: not null access Gtk_Icon_View_Record;
Func: Gtk_Icon_View_Foreach_Func);
Calls a function for each selected icon. Note that the model or selection cannot be modified from within this function. Since: gtk+ 2.6 "func": The function to call for each selected icon.

Set_Tooltip_Cell

procedure Set_Tooltip_Cell 
(Icon_View: not null access Gtk_Icon_View_Record;
Tooltip: not null access Gtk.Tooltip.Gtk_Tooltip_Record'Class;
Path: Gtk.Tree_Model.Gtk_Tree_Path;
Cell: access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class);
Sets the tip area of Tooltip to the area which Cell occupies in the item pointed to by Path. See also Gtk.Tooltip.Set_Tip_Area. See also Gtk.Icon_View.Set_Tooltip_Column for a simpler alternative. Since: gtk+ 2.12 "tooltip": a Gtk.Tooltip.Gtk_Tooltip "path": a Gtk.Tree_Model.Gtk_Tree_Path "cell": a Gtk.Cell_Renderer.Gtk_Cell_Renderer or null

Set_Tooltip_Item

procedure Set_Tooltip_Item 
(Icon_View: not null access Gtk_Icon_View_Record;
Tooltip: not null access Gtk.Tooltip.Gtk_Tooltip_Record'Class;
Path: Gtk.Tree_Model.Gtk_Tree_Path);
Sets the tip area of Tooltip to be the area covered by the item at Path. See also Gtk.Icon_View.Set_Tooltip_Column for a simpler alternative. See also Gtk.Tooltip.Set_Tip_Area. Since: gtk+ 2.12 "tooltip": a Gtk.Tooltip.Gtk_Tooltip "path": a Gtk.Tree_Model.Gtk_Tree_Path

Unselect_All

procedure Unselect_All 
(Icon_View: not null access Gtk_Icon_View_Record);
Unselects all the icons. Since: gtk+ 2.6

Unselect_Path

procedure Unselect_Path 
(Icon_View: not null access Gtk_Icon_View_Record;
Path: Gtk.Tree_Model.Gtk_Tree_Path);
Unselects the row at Path. Since: gtk+ 2.6 "path": The Gtk.Tree_Model.Gtk_Tree_Path to be unselected.

Unset_Model_Drag_Dest

procedure Unset_Model_Drag_Dest 
(Icon_View: not null access Gtk_Icon_View_Record);
Undoes the effect of gtk_icon_view_enable_model_drag_dest. Calling this method sets Gtk.Icon_View.Gtk_Icon_View:reorderable to False. Since: gtk+ 2.8

Unset_Model_Drag_Source

procedure Unset_Model_Drag_Source 
(Icon_View: not null access Gtk_Icon_View_Record);
Undoes the effect of gtk_icon_view_enable_model_drag_source. Calling this method sets Gtk.Icon_View.Gtk_Icon_View:reorderable to False. Since: gtk+ 2.8

Set_Cell_Data_Func

procedure Set_Cell_Data_Func 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Func: Gtk_Cell_Layout_Data_Func);
Sets the Gtk_Cell_Layout_Data_Func to use for Cell_Layout. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of Cell_Layout's cell renderer(s) as appropriate. Func may be null to remove a previously set function. Since: gtk+ 2.4 "cell": a Gtk.Cell_Renderer.Gtk_Cell_Renderer "func": the Gtk_Cell_Layout_Data_Func to use, or null

Enable_Model_Drag_Dest

procedure Enable_Model_Drag_Dest 
(Icon_View: access Gtk_Icon_View_Record;
Targets: Gtk.Target_List.Target_Entry_Array;
Actions: Gdk.Dnd.Drag_Action);
Turns Icon_view into a drop destination for automatic DND. Targets is the list of targets that the drag will support.

Enable_Model_Drag_Source

procedure Enable_Model_Drag_Source 
(Icon_View: access Gtk_Icon_View_Record;
Start_Button_Mask: Gdk.Types.Gdk_Modifier_Type;
Targets: Gtk.Target_List.Target_Entry_Array;
Actions: Gdk.Dnd.Drag_Action);
Turns Icon_view into a drag source for automatic DND. Start_Button_Mask is the allowed buttons to start drag.

Add_Attribute

procedure Add_Attribute 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Attribute: UTF8_String;
Column: Gint);

Clear

procedure Clear 
(Cell_Layout: not null access Gtk_Icon_View_Record);

Clear_Attributes

procedure Clear_Attributes 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class);

Get_Cells

function Get_Cells 
(Cell_Layout: not null access Gtk_Icon_View_Record) return Glib.Object.Object_Simple_List.Glist;

Pack_End

procedure Pack_End 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand: Boolean);

Pack_Start

procedure Pack_Start 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Expand: Boolean);

Reorder

procedure Reorder 
(Cell_Layout: not null access Gtk_Icon_View_Record;
Cell: not null access Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record'Class;
Position: Gint);

Get_Hadjustment

function Get_Hadjustment 
(Self: not null access Gtk_Icon_View_Record) return Gtk.Adjustment.Gtk_Adjustment;

Set_Hadjustment

procedure Set_Hadjustment 
(Self: not null access Gtk_Icon_View_Record;
Hadjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class);

Get_Hscroll_Policy

function Get_Hscroll_Policy 
(Self: not null access Gtk_Icon_View_Record) return Gtk.Enums.Gtk_Scrollable_Policy;

Set_Hscroll_Policy

procedure Set_Hscroll_Policy 
(Self: not null access Gtk_Icon_View_Record;
Policy: Gtk.Enums.Gtk_Scrollable_Policy);

Get_Vadjustment

function Get_Vadjustment 
(Self: not null access Gtk_Icon_View_Record) return Gtk.Adjustment.Gtk_Adjustment;

Set_Vadjustment

procedure Set_Vadjustment 
(Self: not null access Gtk_Icon_View_Record;
Vadjustment: access Gtk.Adjustment.Gtk_Adjustment_Record'Class);

Get_Vscroll_Policy

function Get_Vscroll_Policy 
(Self: not null access Gtk_Icon_View_Record) return Gtk.Enums.Gtk_Scrollable_Policy;

Set_Vscroll_Policy

procedure Set_Vscroll_Policy 
(Self: not null access Gtk_Icon_View_Record;
Policy: Gtk.Enums.Gtk_Scrollable_Policy);

On_Activate_Cursor_Item

procedure On_Activate_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Boolean;
After: Boolean := False);

On_Activate_Cursor_Item

procedure On_Activate_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
A <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user activates the currently focused item. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control activation programmatically. The default bindings for this signal are Space, Return and Enter.

On_Item_Activated

procedure On_Item_Activated 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Gtk_Tree_Path_Void;
After: Boolean := False);

On_Item_Activated

procedure On_Item_Activated 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Gtk_Tree_Path_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::item-activated signal is emitted when the method Gtk.Icon_View.Item_Activated is called, when the user double clicks an item with the "activate-on-single-click" property set to False, or when the user single clicks an item when the "activate-on-single-click" property set to True. It is also emitted when a non-editable item is selected and one of the keys: Space, Return or Enter is pressed.

On_Move_Cursor

procedure On_Move_Cursor 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Gtk_Movement_Step_Gint_Boolean;
After: Boolean := False);

On_Move_Cursor

procedure On_Move_Cursor 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Gtk_Movement_Step_Gint_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::move-cursor signal is a <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user initiates a cursor movement. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control the cursor programmatically. The default bindings for this signal include * Arrow keys which move by individual steps * Home/End keys which move to the first/last item * PageUp/PageDown which move by "pages" All of these will extend the selection when combined with the Shift modifier. Callback parameters: -- "step": the granularity of the move, as a Gtk.Enums.Gtk_Movement_Step -- "count": the number of Step units to move

On_Select_All

procedure On_Select_All 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Void;
After: Boolean := False);

On_Select_All

procedure On_Select_All 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
A <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user selects all items. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control selection programmatically. The default binding for this signal is Ctrl-a.

On_Select_Cursor_Item

procedure On_Select_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Void;
After: Boolean := False);

On_Select_Cursor_Item

procedure On_Select_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
A <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user selects the item that is currently focused. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control selection programmatically. There is no default binding for this signal.

On_Selection_Changed

procedure On_Selection_Changed 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Void;
After: Boolean := False);

On_Selection_Changed

procedure On_Selection_Changed 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::selection-changed signal is emitted when the selection (i.e. the set of selected items) changes.

On_Toggle_Cursor_Item

procedure On_Toggle_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Void;
After: Boolean := False);

On_Toggle_Cursor_Item

procedure On_Toggle_Cursor_Item 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
A <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user toggles whether the currently focused item is selected or not. The exact effect of this depend on the selection mode. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control selection programmatically. There is no default binding for this signal is Ctrl-Space.

On_Unselect_All

procedure On_Unselect_All 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_Gtk_Icon_View_Void;
After: Boolean := False);

On_Unselect_All

procedure On_Unselect_All 
(Self: not null access Gtk_Icon_View_Record;
Call: Cb_GObject_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
A <link linkend="keybinding-signals">keybinding signal</link> which gets emitted when the user unselects all items. Applications should not connect to it, but may emit it with g_signal_emit_by_name if they need to control selection programmatically. The default binding for this signal is Ctrl-Shift-a.