Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

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

Open
CBrauer opened this issue May 17, 2023 · 0 comments
Open

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

CBrauer opened this issue May 17, 2023 · 0 comments

Comments

@CBrauer
Copy link

CBrauer commented May 17, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant