Skip to content

Is there a Julia binding to the GtkLayout container?  #689

@CBrauer

Description

@CBrauer

I’m trying to position a Gtk Button with width=50, and height=40 at location 10, 300 in a GtkLayout container.
This is what I have tried:

using Gtk
win = GtkWindow("Button Example", 400, 300)
layout = GtkLayout(400, 300)
btn = GtkButton("Click Me")
put!(layout, btn, 10, 300)
push!(win, layout)
showall(win)

This code does not work.
Am I trying to do something that is not possible with the current state of Gtk.jl at this time?
Charles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions