On Thu, May 14, 2009 at 12:05 PM, David Katz <da...@davidkatzconsulting.com>wrote:
> I'm a newbie with glade and RGtk2. I tried to get a simple window to show, > following the code in rattle as best I could. > I've got gtk runtime 2.12.9-2 installed, R 9.0, updated RGtk2. I created a > test file using Glade v.2.6.1, and here it is: > > > readLines(test) > [1] "<?xml version=\"1.0\"?>" > > [2] "<glade-interface>" > > [3] " <!-- interface-requires gtk+ 2.16 -->" > > [4] " <!-- interface-naming-policy project-wide -->" > > [5] " <widget class=\"GtkWindow\" id=\"window1\">" > > [6] " <property name=\"title\" translatable=\"yes\">DEWS > Demo</property>" > [7] " <property name=\"startup_id\">window1</property>" > > [8] " <property name=\"role\">window1</property>" > > [9] " <child>" > > [10] " <placeholder/>" > > [11] " </child>" > > [12] " </widget>" > > [13] "</glade-interface>" > > This produces no error message but also no window showing. > > win <- gladeXMLNew(test,,root="hello") > > > win > <pointer: 0x016d3450> > attr(,"interfaces") > character(0) > attr(,"class") > [1] "GladeXML" "GObject" "RGtkObject" > > I'm thinking you just have to show the window, e.g. win$show() > > I'd appreciate any help getting started with these tools. Thanks! > > -- > David Katz > > www.davidkatzconsulting.com > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-GUI mailing list > R-SIG-GUI@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-gui > [[alternative HTML version deleted]] _______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-gui