search for: gtkwindownew

Displaying 4 results from an estimated 4 matches for "gtkwindownew".

Did you mean: gtk_window_new
2007 Mar 13
2
gtk button: how to create signal handler?
Hi Kindly correct me if I am posting a wrong query in the forum. I am trying to handle my "button:clicked" event. But not able to proceed further. Please help. Following is my code: library(RGtk2) win <- gtkWindowNew(type = NULL, show = TRUE) butt <- gtkButtonNewWithLabel("Submit", show = TRUE) win$Add(butt) Now I want to do something when my button is clicked. How can I grab the "clicked" signal and define actions against it? Thanks in advance. -- Regards Sarthi M. [[alternative HTM...
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
...e the RGtk2 package... so, my first problem is: I don't get the right way for populate my gtkListStore object! any help is welcome... because I am trying several day to mount the code... Thanks in advanced Cleber N. Borges --------------------------- # my testing code library(RGtk2) win <- gtkWindowNew() datamodel <- gtkListStoreNew('gchararray') treeview <- gtkTreeViewNew() renderer <- gtkCellRendererText() col_0 <- gtkTreeViewColumnNewWithAttributes(title="TitleXXX", cell=renderer, "text"="Bar") nc_next <- gtkTreeViewInsertColumn(object=tree...
2007 Jul 18
3
How to open an URL using RGtk2
...and found that GtkLinkButtonUriFunc is a function which is require to do something with the opening of the given URL. Further, I didn't find any other information regarding this. Following is my code: messlab <- gtkLabelNew(str = "Please wait!", show = TRUE) messwin <- gtkWindowNew(type = NULL, show = TRUE) messwin$Add(messlab) gtkWindowResize(messwin, 250, 60) gtkWindowSetTitle(messwin, "Graph Analysis") .... .... .... fihor <- gtkHPanedNew(show = TRUE) fn <- gtkLinkButtonNewWithLabel("http://cran.r-project.org/", "Result...
2013 Jan 10
0
asCairoDevice issue
...quot;Versicolor", "Virginica")))) plot.call However if I want to draw the same plot in the drawing area by asCairoDevice I lost all the colorful dots in the upper left and lower right, having only the diagonal charts: The codes are: (you can copy and paste to your R GUI) win<- gtkWindowNew(show= FALSE) DA<- gtkDrawingArea() asCairoDevice(DA) win$add(DA) win$show() plot.call Did I miss anything here? Thanks a lot!!! Regards, Yan [[alternative HTML version deleted]]