Skip to content

Commit

Permalink
fix pack(::Canvas) and support kwargs in grid(::Canvas, ...) (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Jul 23, 2024
1 parent 1d60b30 commit de71f36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tkwidget.jl
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,12 @@ get_visible(c::Canvas) = get_visible(c.c.parent)

initialized(c::Canvas) = c.initialized

function pack(c::Canvas, args...)
pack(c.c, args...)
function pack(c::Canvas; kwargs...)
pack(c.c; kwargs...)
end

function grid(c::Canvas, args...)
grid(c.c, args...)
function grid(c::Canvas, args...; kwargs...)
grid(c.c, args...; kwargs...)
end

function place(c::Canvas, x::Int, y::Int)
Expand Down

0 comments on commit de71f36

Please sign in to comment.