gi-gtk-3.0.9: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Table

Contents

Description

 

Synopsis

Exported types

newtype Table Source #

Constructors

Table (ManagedPtr Table) 

Instances

GObject Table Source # 
IsObject Table Source # 
IsWidget Table Source # 
IsContainer Table Source # 
IsBuildable Table Source # 
IsImplementorIface Table Source # 
IsTable Table Source # 
((~) * info (ResolveTableMethod t Table), MethodInfo * info Table p) => IsLabel t (Table -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Table -> p #

((~) * info (ResolveTableMethod t Table), MethodInfo * info Table p) => IsLabelProxy t (Table -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Table -> p

HasAttributeList * Table Source # 
type SignalList Table Source # 
type SignalList Table
type AttributeList Table Source # 
type AttributeList Table

class GObject o => IsTable o Source #

Instances

(GObject a, UnknownAncestorError Constraint Table a) => IsTable a Source # 
IsTable Table Source # 

Methods

attach

data TableAttachMethodInfo Source #

Instances

((~) * signature (b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m ()), MonadIO m, IsTable a, IsWidget b) => MethodInfo * TableAttachMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableAttachMethodInfo a -> signature -> s

tableAttach :: (MonadIO m, IsTable a, IsWidget b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> [AttachOptions] -> [AttachOptions] -> Word32 -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_grid_attach() with #GtkGrid. Note that the attach arguments differ between those two functions.

attachDefaults

data TableAttachDefaultsMethodInfo Source #

Instances

((~) * signature (b -> Word32 -> Word32 -> Word32 -> Word32 -> m ()), MonadIO m, IsTable a, IsWidget b) => MethodInfo * TableAttachDefaultsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableAttachDefaultsMethodInfo a -> signature -> s

tableAttachDefaults :: (MonadIO m, IsTable a, IsWidget b) => a -> b -> Word32 -> Word32 -> Word32 -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_grid_attach() with #GtkGrid. Note that the attach arguments differ between those two functions.

getColSpacing

data TableGetColSpacingMethodInfo Source #

Instances

((~) * signature (Word32 -> m Word32), MonadIO m, IsTable a) => MethodInfo * TableGetColSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetColSpacingMethodInfo a -> signature -> s

tableGetColSpacing :: (MonadIO m, IsTable a) => a -> Word32 -> m Word32 Source #

Deprecated: (Since version 3.4)#GtkGrid does not offer a replacement for this functionality.

getDefaultColSpacing

data TableGetDefaultColSpacingMethodInfo Source #

Instances

((~) * signature (m Word32), MonadIO m, IsTable a) => MethodInfo * TableGetDefaultColSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetDefaultColSpacingMethodInfo a -> signature -> s

tableGetDefaultColSpacing :: (MonadIO m, IsTable a) => a -> m Word32 Source #

Deprecated: (Since version 3.4)Use gtk_grid_get_column_spacing() with #GtkGrid.

getDefaultRowSpacing

data TableGetDefaultRowSpacingMethodInfo Source #

Instances

((~) * signature (m Word32), MonadIO m, IsTable a) => MethodInfo * TableGetDefaultRowSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetDefaultRowSpacingMethodInfo a -> signature -> s

tableGetDefaultRowSpacing :: (MonadIO m, IsTable a) => a -> m Word32 Source #

Deprecated: (Since version 3.4)Use gtk_grid_get_row_spacing() with #GtkGrid.

getHomogeneous

data TableGetHomogeneousMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsTable a) => MethodInfo * TableGetHomogeneousMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetHomogeneousMethodInfo a -> signature -> s

tableGetHomogeneous :: (MonadIO m, IsTable a) => a -> m Bool Source #

Deprecated: (Since version 3.4)Use gtk_grid_get_row_homogeneous() and gtk_grid_get_column_homogeneous() with #GtkGrid.

getRowSpacing

data TableGetRowSpacingMethodInfo Source #

Instances

((~) * signature (Word32 -> m Word32), MonadIO m, IsTable a) => MethodInfo * TableGetRowSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetRowSpacingMethodInfo a -> signature -> s

tableGetRowSpacing :: (MonadIO m, IsTable a) => a -> Word32 -> m Word32 Source #

Deprecated: (Since version 3.4)#GtkGrid does not offer a replacement for this functionality.

getSize

data TableGetSizeMethodInfo Source #

Instances

((~) * signature (m (Word32, Word32)), MonadIO m, IsTable a) => MethodInfo * TableGetSizeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableGetSizeMethodInfo a -> signature -> s

tableGetSize :: (MonadIO m, IsTable a) => a -> m (Word32, Word32) Source #

Deprecated: (Since version 3.4)#GtkGrid does not expose the number of columns and rows.

new

tableNew :: MonadIO m => Word32 -> Word32 -> Bool -> m Table Source #

Deprecated: (Since version 3.4)Use gtk_grid_new().

resize

data TableResizeMethodInfo Source #

Instances

((~) * signature (Word32 -> Word32 -> m ()), MonadIO m, IsTable a) => MethodInfo * TableResizeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableResizeMethodInfo a -> signature -> s

tableResize :: (MonadIO m, IsTable a) => a -> Word32 -> Word32 -> m () Source #

Deprecated: (Since version 3.4)#GtkGrid resizes automatically.

setColSpacing

data TableSetColSpacingMethodInfo Source #

Instances

((~) * signature (Word32 -> Word32 -> m ()), MonadIO m, IsTable a) => MethodInfo * TableSetColSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableSetColSpacingMethodInfo a -> signature -> s

tableSetColSpacing :: (MonadIO m, IsTable a) => a -> Word32 -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_widget_set_margin_start() and gtk_widget_set_margin_end() on the widgets contained in the row if you need this functionality. #GtkGrid does not support per-row spacing.

setColSpacings

data TableSetColSpacingsMethodInfo Source #

Instances

((~) * signature (Word32 -> m ()), MonadIO m, IsTable a) => MethodInfo * TableSetColSpacingsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableSetColSpacingsMethodInfo a -> signature -> s

tableSetColSpacings :: (MonadIO m, IsTable a) => a -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_grid_set_column_spacing() with #GtkGrid.

setHomogeneous

data TableSetHomogeneousMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsTable a) => MethodInfo * TableSetHomogeneousMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableSetHomogeneousMethodInfo a -> signature -> s

tableSetHomogeneous :: (MonadIO m, IsTable a) => a -> Bool -> m () Source #

Deprecated: (Since version 3.4)Use gtk_grid_set_row_homogeneous() and gtk_grid_set_column_homogeneous() with #GtkGrid.

setRowSpacing

data TableSetRowSpacingMethodInfo Source #

Instances

((~) * signature (Word32 -> Word32 -> m ()), MonadIO m, IsTable a) => MethodInfo * TableSetRowSpacingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableSetRowSpacingMethodInfo a -> signature -> s

tableSetRowSpacing :: (MonadIO m, IsTable a) => a -> Word32 -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_widget_set_margin_top() and gtk_widget_set_margin_bottom() on the widgets contained in the row if you need this functionality. #GtkGrid does not support per-row spacing.

setRowSpacings

data TableSetRowSpacingsMethodInfo Source #

Instances

((~) * signature (Word32 -> m ()), MonadIO m, IsTable a) => MethodInfo * TableSetRowSpacingsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy TableSetRowSpacingsMethodInfo a -> signature -> s

tableSetRowSpacings :: (MonadIO m, IsTable a) => a -> Word32 -> m () Source #

Deprecated: (Since version 3.4)Use gtk_grid_set_row_spacing() with #GtkGrid.

Properties

columnSpacing

data TableColumnSpacingPropertyInfo Source #

Instances

AttrInfo TableColumnSpacingPropertyInfo Source # 

Associated Types

type AttrAllowedOps TableColumnSpacingPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint TableColumnSpacingPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint TableColumnSpacingPropertyInfo :: * -> Constraint

type AttrGetType TableColumnSpacingPropertyInfo :: *

type AttrLabel TableColumnSpacingPropertyInfo :: Symbol

type AttrOrigin TableColumnSpacingPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint TableColumnSpacingPropertyInfo o => Proxy * TableColumnSpacingPropertyInfo -> o -> IO (AttrGetType TableColumnSpacingPropertyInfo)

attrSet :: (AttrBaseTypeConstraint TableColumnSpacingPropertyInfo o, AttrSetTypeConstraint TableColumnSpacingPropertyInfo b) => Proxy * TableColumnSpacingPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint TableColumnSpacingPropertyInfo o => Proxy * TableColumnSpacingPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint TableColumnSpacingPropertyInfo o, AttrSetTypeConstraint TableColumnSpacingPropertyInfo b) => Proxy * TableColumnSpacingPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint TableColumnSpacingPropertyInfo Source # 
type AttrSetTypeConstraint TableColumnSpacingPropertyInfo = * ~ Word32
type AttrOrigin TableColumnSpacingPropertyInfo Source # 
type AttrLabel TableColumnSpacingPropertyInfo Source # 
type AttrLabel TableColumnSpacingPropertyInfo = "column-spacing"
type AttrGetType TableColumnSpacingPropertyInfo Source # 
type AttrBaseTypeConstraint TableColumnSpacingPropertyInfo Source # 
type AttrBaseTypeConstraint TableColumnSpacingPropertyInfo = IsTable
type AttrAllowedOps TableColumnSpacingPropertyInfo Source # 
type AttrAllowedOps TableColumnSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructTableColumnSpacing :: IsTable o => Word32 -> IO (GValueConstruct o) Source #

tableColumnSpacing :: AttrLabelProxy "columnSpacing" Source #

homogeneous

data TableHomogeneousPropertyInfo Source #

Instances

AttrInfo TableHomogeneousPropertyInfo Source # 

Associated Types

type AttrAllowedOps TableHomogeneousPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint TableHomogeneousPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint TableHomogeneousPropertyInfo :: * -> Constraint

type AttrGetType TableHomogeneousPropertyInfo :: *

type AttrLabel TableHomogeneousPropertyInfo :: Symbol

type AttrOrigin TableHomogeneousPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint TableHomogeneousPropertyInfo o => Proxy * TableHomogeneousPropertyInfo -> o -> IO (AttrGetType TableHomogeneousPropertyInfo)

attrSet :: (AttrBaseTypeConstraint TableHomogeneousPropertyInfo o, AttrSetTypeConstraint TableHomogeneousPropertyInfo b) => Proxy * TableHomogeneousPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint TableHomogeneousPropertyInfo o => Proxy * TableHomogeneousPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint TableHomogeneousPropertyInfo o, AttrSetTypeConstraint TableHomogeneousPropertyInfo b) => Proxy * TableHomogeneousPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint TableHomogeneousPropertyInfo Source # 
type AttrSetTypeConstraint TableHomogeneousPropertyInfo = * ~ Bool
type AttrOrigin TableHomogeneousPropertyInfo Source # 
type AttrLabel TableHomogeneousPropertyInfo Source # 
type AttrLabel TableHomogeneousPropertyInfo = "homogeneous"
type AttrGetType TableHomogeneousPropertyInfo Source # 
type AttrBaseTypeConstraint TableHomogeneousPropertyInfo Source # 
type AttrBaseTypeConstraint TableHomogeneousPropertyInfo = IsTable
type AttrAllowedOps TableHomogeneousPropertyInfo Source # 
type AttrAllowedOps TableHomogeneousPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructTableHomogeneous :: IsTable o => Bool -> IO (GValueConstruct o) Source #

setTableHomogeneous :: (MonadIO m, IsTable o) => o -> Bool -> m () Source #

tableHomogeneous :: AttrLabelProxy "homogeneous" Source #

nColumns

data TableNColumnsPropertyInfo Source #

Instances

AttrInfo TableNColumnsPropertyInfo Source # 

Associated Types

type AttrAllowedOps TableNColumnsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint TableNColumnsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint TableNColumnsPropertyInfo :: * -> Constraint

type AttrGetType TableNColumnsPropertyInfo :: *

type AttrLabel TableNColumnsPropertyInfo :: Symbol

type AttrOrigin TableNColumnsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint TableNColumnsPropertyInfo o => Proxy * TableNColumnsPropertyInfo -> o -> IO (AttrGetType TableNColumnsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint TableNColumnsPropertyInfo o, AttrSetTypeConstraint TableNColumnsPropertyInfo b) => Proxy * TableNColumnsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint TableNColumnsPropertyInfo o => Proxy * TableNColumnsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint TableNColumnsPropertyInfo o, AttrSetTypeConstraint TableNColumnsPropertyInfo b) => Proxy * TableNColumnsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint TableNColumnsPropertyInfo Source # 
type AttrSetTypeConstraint TableNColumnsPropertyInfo = * ~ Word32
type AttrOrigin TableNColumnsPropertyInfo Source # 
type AttrLabel TableNColumnsPropertyInfo Source # 
type AttrLabel TableNColumnsPropertyInfo = "n-columns"
type AttrGetType TableNColumnsPropertyInfo Source # 
type AttrBaseTypeConstraint TableNColumnsPropertyInfo Source # 
type AttrBaseTypeConstraint TableNColumnsPropertyInfo = IsTable
type AttrAllowedOps TableNColumnsPropertyInfo Source # 
type AttrAllowedOps TableNColumnsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructTableNColumns :: IsTable o => Word32 -> IO (GValueConstruct o) Source #

setTableNColumns :: (MonadIO m, IsTable o) => o -> Word32 -> m () Source #

tableNColumns :: AttrLabelProxy "nColumns" Source #

nRows

data TableNRowsPropertyInfo Source #

Instances

AttrInfo TableNRowsPropertyInfo Source # 

Associated Types

type AttrAllowedOps TableNRowsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint TableNRowsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint TableNRowsPropertyInfo :: * -> Constraint

type AttrGetType TableNRowsPropertyInfo :: *

type AttrLabel TableNRowsPropertyInfo :: Symbol

type AttrOrigin TableNRowsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint TableNRowsPropertyInfo o => Proxy * TableNRowsPropertyInfo -> o -> IO (AttrGetType TableNRowsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint TableNRowsPropertyInfo o, AttrSetTypeConstraint TableNRowsPropertyInfo b) => Proxy * TableNRowsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint TableNRowsPropertyInfo o => Proxy * TableNRowsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint TableNRowsPropertyInfo o, AttrSetTypeConstraint TableNRowsPropertyInfo b) => Proxy * TableNRowsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint TableNRowsPropertyInfo Source # 
type AttrSetTypeConstraint TableNRowsPropertyInfo = * ~ Word32
type AttrOrigin TableNRowsPropertyInfo Source # 
type AttrOrigin TableNRowsPropertyInfo = Table
type AttrLabel TableNRowsPropertyInfo Source # 
type AttrLabel TableNRowsPropertyInfo = "n-rows"
type AttrGetType TableNRowsPropertyInfo Source # 
type AttrGetType TableNRowsPropertyInfo = Word32
type AttrBaseTypeConstraint TableNRowsPropertyInfo Source # 
type AttrBaseTypeConstraint TableNRowsPropertyInfo = IsTable
type AttrAllowedOps TableNRowsPropertyInfo Source # 
type AttrAllowedOps TableNRowsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructTableNRows :: IsTable o => Word32 -> IO (GValueConstruct o) Source #

setTableNRows :: (MonadIO m, IsTable o) => o -> Word32 -> m () Source #

tableNRows :: AttrLabelProxy "nRows" Source #

rowSpacing

data TableRowSpacingPropertyInfo Source #

Instances

AttrInfo TableRowSpacingPropertyInfo Source # 

Associated Types

type AttrAllowedOps TableRowSpacingPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint TableRowSpacingPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint TableRowSpacingPropertyInfo :: * -> Constraint

type AttrGetType TableRowSpacingPropertyInfo :: *

type AttrLabel TableRowSpacingPropertyInfo :: Symbol

type AttrOrigin TableRowSpacingPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint TableRowSpacingPropertyInfo o => Proxy * TableRowSpacingPropertyInfo -> o -> IO (AttrGetType TableRowSpacingPropertyInfo)

attrSet :: (AttrBaseTypeConstraint TableRowSpacingPropertyInfo o, AttrSetTypeConstraint TableRowSpacingPropertyInfo b) => Proxy * TableRowSpacingPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint TableRowSpacingPropertyInfo o => Proxy * TableRowSpacingPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint TableRowSpacingPropertyInfo o, AttrSetTypeConstraint TableRowSpacingPropertyInfo b) => Proxy * TableRowSpacingPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint TableRowSpacingPropertyInfo Source # 
type AttrSetTypeConstraint TableRowSpacingPropertyInfo = * ~ Word32
type AttrOrigin TableRowSpacingPropertyInfo Source # 
type AttrLabel TableRowSpacingPropertyInfo Source # 
type AttrLabel TableRowSpacingPropertyInfo = "row-spacing"
type AttrGetType TableRowSpacingPropertyInfo Source # 
type AttrBaseTypeConstraint TableRowSpacingPropertyInfo Source # 
type AttrBaseTypeConstraint TableRowSpacingPropertyInfo = IsTable
type AttrAllowedOps TableRowSpacingPropertyInfo Source # 
type AttrAllowedOps TableRowSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)))

constructTableRowSpacing :: IsTable o => Word32 -> IO (GValueConstruct o) Source #

setTableRowSpacing :: (MonadIO m, IsTable o) => o -> Word32 -> m () Source #

tableRowSpacing :: AttrLabelProxy "rowSpacing" Source #