gi-handy-0.0.5: libhandy bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.Dialog

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Dialog Source #

Memory-managed wrapper type.

Constructors

Dialog (ManagedPtr Dialog) 
Instances
GObject Dialog Source # 
Instance details

Defined in GI.Handy.Objects.Dialog

Methods

gobjectType :: IO GType #

HasParentTypes Dialog Source # 
Instance details

Defined in GI.Handy.Objects.Dialog

type ParentTypes Dialog Source # 
Instance details

Defined in GI.Handy.Objects.Dialog

type ParentTypes Dialog = Dialog ': (Window ': (Bin ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': ([] :: [Type]))))))))

class (GObject o, IsDescendantOf Dialog o) => IsDialog o Source #

Type class for types which can be safely cast to Dialog, for instance with toDialog.

Instances
(GObject o, IsDescendantOf Dialog o) => IsDialog o Source # 
Instance details

Defined in GI.Handy.Objects.Dialog

toDialog :: (MonadIO m, IsDialog o) => o -> m Dialog Source #

Cast to Dialog, for types for which this is known to be safe. For general casts, use castTo.

noDialog :: Maybe Dialog Source #

A convenience alias for Nothing :: Maybe Dialog.

Methods

new

dialogNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> a

parent: Window this dialog is a child of

-> m Dialog 

Create a Dialog with Window:transient-for set to parent

C Usage

C code

GtkWidget *dlg = hdy_dialog_new (GTK_WINDOW (main_window));

Vala Usage

Vala code

var dlg = new Hdy.Dialog (main_window);

Python Usage

Python code

dlg = Handy.Dialog.new (main_window);

Since: 0.0.7