diff options
author | Camil Staps | 2019-10-20 12:58:02 +0200 |
---|---|---|
committer | Camil Staps | 2019-10-20 12:58:02 +0200 |
commit | 786bb35f3891fec41030caf1df7a4461ea97729e (patch) | |
tree | 3463a477bc5df53db83eaa9b8afa8fcb52d0387e /src/Gtk/Widgets.dcl | |
parent | Add GtkBox support (diff) |
Add GtkFrame
Diffstat (limited to 'src/Gtk/Widgets.dcl')
-rw-r--r-- | src/Gtk/Widgets.dcl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Gtk/Widgets.dcl b/src/Gtk/Widgets.dcl index 914b90b..b4a9849 100644 --- a/src/Gtk/Widgets.dcl +++ b/src/Gtk/Widgets.dcl @@ -5,8 +5,8 @@ from StdMaybe import :: Maybe from System._Pointer import :: Pointer from Gtk.State import :: State, :: StateT, :: Identity, :: GtkState -from Gtk.Types import :: GtkDirection, :: GtkExpand, :: GtkOrientation, - :: GtkPanedHandleWidth, :: GtkResize, :: GtkShrink +from Gtk.Types import :: GtkDirection, :: GtkExpand, :: GtkLabel, + :: GtkOrientation, :: GtkPanedHandleWidth, :: GtkResize, :: GtkShrink class ptr a :: !a -> Pointer @@ -33,6 +33,12 @@ instance gtkContainer GtkBox newBox :: !GtkOrientation !Int -> State GtkState GtkBox packBox :: !w !GtkBox !GtkDirection !GtkExpand -> State GtkState () | gtkWidget w +:: GtkFrame +instance gtkWidget GtkFrame +instance gtkContainer GtkFrame + +newFrame :: !GtkLabel !w -> State GtkState GtkFrame | gtkWidget w + :: GtkPaned instance gtkWidget GtkPaned instance gtkContainer GtkPaned |