[R] centering gWindow on maximising

2012-11-20 Thread KRISHNA2222
Hi, I am developing a Gui in R for a Statistical Purpose. i am wondering to know whether there is any option in R for centering the objects in a window when a window is maximized. All the gaps, positions and sizes are to be scaled up properly on maximizing, giving an same view as it gives under

[R] RGtk2 widget font changing

2012-11-29 Thread KRISHNA2222
I am developing A Gui using RGtk2 package. I wanted to know how the font attributes of names of widgets like menu bar, text, label etc. are changed. i mean to have menu bar item bold, italic and some specific size etc. Is there a need to create a style using PANGO library??? Krishna -- View th

[R] How to add widgets of gWidgets to widgets of rgtk2 ???

2012-11-29 Thread KRISHNA2222
I have a layout in gwidgets. To this, I wanted to add a Textbox(gtkEntry) created from rgtk2... The code is as follows: MainLayOut <- glayout(homogeneous = FALSE, spacing = 10, container = SubGroup) MainLayOut[1, 1, anchor=left] <- "Number of Total Patients: " font(MainLayOut[1, 1, anchor=left