RGtk2

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
RGtk2
DevelopersMichael Lawrence and Duncan Temple Lang
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemCross-platform
    PlatformCross-platform
    Typewidget toolkit
    LicenseGPL
    Websitewww.ggobi.org/rgtk2

    RGtk2 is a set of R wrappers for the GTK+ graphical user interface library. RGtk2 is free software and licensed under the GPL.

    Syntax

    [edit | edit source]

    The code below will produce a 200x200 pixel window with the words "Hello World" inside.

    library(RGtk2)
    
    createWindow <- function()
    {
        window <- gtkWindow()
    
        label <- gtkLabel("Hello World")
        window$add(label)
    }
    
    createWindow()
    gtk.main()
    

    Notable applications that use RGtk2

    [edit | edit source]

    RGtk2 has been used in a number of notable applications, some examples:

    See also

    [edit | edit source]

    Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

    References

    [edit | edit source]
    [edit | edit source]