Giter Site home page Giter Site logo

Comments (7)

Keno avatar Keno commented on July 2, 2024

The following works fine for me:

canvas = Gtk.Canvas(Gtk.Window("GraphViz"),512,512)

from gtk.jl.

lobingera avatar lobingera commented on July 2, 2024

Partially...
lobi@maroon:~$ julia/julia
_
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.2.0-prerelease+3134
/ |_'|||__'| | Commit 888ca27 2013-08-09 16:25:25 UTC
|__/ | i686-linux-gnu

julia> using Gtk

julia> c = Gtk.Canvas(Gtk.Window("300"),500,400)
Canvas

julia> ERROR: no method convert(Type{Int32},Function)
in cairo_surface_for at /home/lobi/.julia/Gtk/src/cairo.jl:76
in notify_resize at /home/lobi/.julia/Gtk/src/cairo.jl:41
in gtk_doevent at /home/lobi/.julia/Gtk/src/events.jl:7
in gtk_doevent at /home/lobi/.julia/Gtk/src/events.jl:2
in _uv_hook_asynccb at stream.jl:434
in process_events at stream.jl:498
in event_loop at multi.jl:1512
in anonymous at client.jl:303

ERROR: access to undefined reference
in canvas_on_expose_event at /home/lobi/.julia/Gtk/src/cairo.jl:92
in gtk_doevent at /home/lobi/.julia/Gtk/src/events.jl:7
in gtk_doevent at /home/lobi/.julia/Gtk/src/events.jl:2
in _uv_hook_asynccb at stream.jl:434
in process_events at stream.jl:498
in event_loop at multi.jl:1512
in anonymous at client.jl:303

?

from gtk.jl.

Keno avatar Keno commented on July 2, 2024

Ok, I have patches for that. Will commit.

from gtk.jl.

Keno avatar Keno commented on July 2, 2024

Try checking out latest master and try again.

from gtk.jl.

vtjnash avatar vtjnash commented on July 2, 2024

we should make sure METADATA reflects this API change in the allowable version numbers

from gtk.jl.

lobingera avatar lobingera commented on July 2, 2024

Works. Thank you.

btw: i tried to set the label 'question' to this issue, but somehow failed.

from gtk.jl.

pao avatar pao commented on July 2, 2024

btw: i tried to set the label 'question' to this issue, but somehow failed.

I think only repo collaborators can set labels the way that Github's permission model is set up.

from gtk.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.